An administrator can enable a warning so that an author changing a document in the Oxygen Editor will be alerted if their document is reused elsewhere.
- To enable this warning, and administrator must execute this script: %Astoria%\acs\iEngine\python\settings\wanbridge\setupCheckinSharedReuseValidation.py on the primary ACS server.
- The script allows the administrator to define three parameters:
- State of Checkin Shared Reuse Validation (1 - Enabled, 0 - Disabled). Once this is set to enabled, two additional options appear.
- What is the flavor filter for reuse (for example: flavor: dita_map_bookmap). Multiple flavors can be specified, including flavors that end with an asterisk (*). So for example if it is set to dita_map_bookmap, then only bookmaps will be scanned for shared reuse.
- State of Checkin Shared Reuse Validation single thread (1 - Enabled, 0 - Disabled)
If single thread is disabled, the validation is performed directly at checkin/multicheckin time. If single thread is enabled, upon every non read-only document opening it's validation request is placed in the single thread for validation. Single thread processes document requests one by one in background and it is possible that the reuse info will be already available for the document by its checkin time. Validation fetches where used information and filters it by the flavor filter (parameter 2, above.).
Once shared reuse validation at checkin time detects that the document is used by more than one document, a warning message is displayed.
