Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

  • Only enable the feature for users whose workflow demands it.

  • Attempt to control WHEN this behavior is enable. Only on specific archives, only when specific fields contain a given status or value.

Excerpt
nameInfo

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.

  • Only enable the feature for users whose workflow demands it.

  • Attempt to control WHEN this behavior is enable. Only on specific archives, only when specific fields contain a given status or value.