Common scripts can be configured in the Thereforeā¢ Solution Designer, which allows the same scripts to be applied to multiple indexing profiles.
1.Right-click on the Common Script node and select New Common Script.
![SD_T_CommonScripts_001](./images/sd_t_commonscripts_001.png)
2.Enter a name for the new common script.
![SD_T_CommonScripts_002](./images/sd_t_commonscripts_002.png)
3.Right-click on the newly named common script under the Common Scripts node and select Open Common Script.
![SD_T_CommonScripts_003](./images/sd_t_commonscripts_003.png)
4.Enter the common script in the Script Editor dialog and click OK.
![SD_T_CommonScripts_004](./images/sd_t_commonscripts_004.png)
|
A common script can be referenced within the Script Editor dialogs of Indexing Profiles, Template Profiles and Workflows.
E.g. When creating a script in Indexing Profiles, a common script can be added in the Script Editor by selecting the Add Common Script option, and then selecting from the list of available common scripts.
![SD_T_CommonScripts_CreatingCommonScript_005](./images/sd_t_commonscripts_creatingcommonscript_005.png)
|
|
|