Creating or Editing Scripts Deleting a Custom Script

Monitoring, Customizations and Audit Tools 12-3

12.2 Using Custom Scripts

Custom scripts can be created using Idoc Script, a proprietary scripting language. This functionality is enabled by default when the DoD Configuration component is enabled. See the Oracle Fusion Middleware Setup Guide for Universal Records Management for details about different options. Custom scripting can be disabled by deselecting the Enable Custom Script box in the DoD Config section of the Configure Retention Settings Page . To access that page click Records then Configure then Settings from the Top menu. When enabled, new content fields are available which allow you to define which scripts will apply to a folder or category. Two types of scripts can be created using the Custom Script functionality: ■ Security scripts , which allows users with the Records Administrator role to define and manage access control to content. ■ Custom Notification scripts , which notify users of events. One custom script is provided, which notifies a list of reviewers when items are due for destruction after being superseded. Notification is send in one consolidated email when batches are run. Additional scripts can be created. Scripts can be applied at a category or folder level and will apply to the children in those objects. A script inherits the security on the folder or category to which it is applied.

12.2.1 Creating or Editing Scripts

Follow this procedure to set up a custom script. Use the same procedure for both types of scripts.

1. Click Records then Configure from the Top menu. Click Security then Custom

Scripts . The Configure Custom Script Page is displayed. Select the type of script to use Notification or Security by clicking the tab for the script type. To edit an existing script, select Edit from the existing script’s Action menu. To add a script, click Add or select Edit on the Custom Script Information Page . 2. The Create or Edit Custom Script Page is displayed. Caution: You must have a thorough understanding of Idoc Script to use this feature. The Oracle URM software does not validate the script. You are responsible for creating usable scripts. See the Oracle Fusion Middleware Idoc Script Reference Guide for details about Idoc Script and its use. Note: Custom scripts comply with the DoD 5015.2 specification, chapter 4.19 and chapter 4.20. Note: Any custom Idoc script which is entered is NOT verified for accuracy. You should have knowledge about Idoc script and its uses before creating scripts. 12-4 Oracle Fusion Middleware Administrators Guide for Universal Records Management 3. Add or edit the name for the script. 4. Add or edit the description for the script optional. 5. Add or edit the Idoc code for the script. Note that the code is not verified for accuracy.

6. When finished adding a new script, click Create. When editing a script, click

Submit Update . To reset the page without saving, click Reset.

12.2.2 Deleting a Custom Script

Follow this procedure to delete a custom script. Use the same procedure for both types of scripts.

1. Click Records then Configure from the Top menu. Click Security then Custom

Scripts . The Configure Custom Script Page is displayed. Select the type of script for deletion by clicking the tab for either a Notification or a Security script.

2. To delete the script, click the box next to the script name and click Delete or select

Delete Script from the script’s Action menu. You can also click Delete on the Custom Script Information Page .

12.2.3 Viewing Script Information