Note |
---|
Enabling KFI by default can have negative consequences to the overall performance of a GlobalSearch environment, and can lead to a poor user experience. If you intend on enabling this feature as a default option, we strongly encourage the implementation of additional controls to ensure optimal system and user performance.
|
Excerpt | ||
---|---|---|
| ||
Enabling Key Free automatically when a document is opened is helpful in certain indexing scenarios. A simple rule can be defined to trigger Key Free when the viewer is opened. Note that this behavior is equivalent to the user clicking the button themselves. |
...
Code Block |
---|
var viewHash = 'viewed-'+$$inject.properties.document.hash; if(!sessionStorage.getItem(viewHash)) { sessionStorage.setItem(viewHash, true) setTimeout(document.querySelectorAll('[key-free]')[0].click(),2000); return "Key Free Started Automatically"; } return "Key Free Start Aborted"; |
Note |
---|
Enabling KFI by default can have negative consequences to the overall performance of a GlobalSearch environment, and can lead to a poor user experience. If you intend on enabling this feature as a default option, we strongly encourage the implementation of additional controls to ensure optimal system and user performance.
|