![]()
This feature allows you to perform client validations for any user specific action by writing scripts that are dynamically executed. The validations can be performed for fixed fields, additional fields/pre-shipped fields or lifecycle fields.
Note: This section has been
provided more for information as developing and configuring customized
scripts needs software development expertise as well as knowledge of the
product. For any requirements on customization scripts, please contact
SapphireIMS Support.
Click on 'Assets' under the 'Settings' option to display the Asset settings.
Click on 'Customization Scripts' in the menu. The list of customization scripts is displayed.

You can click on an existing script to edit or create a new script. To delete a script, select the script and click on 'DELETE'.
To add a new script, select the type of field from 'Fixed Fields', 'Additional/Preshipped Fields' or 'Life Cycle Fields.' Click on 'ADD'. The script configuration screen is displayed.

Select the field which needs to be validated. The list is based on the field type selected earlier.
Select the 'Action' which is the method/event on which the script should be executed.
Select the 'Script Type' as 'Text' to edit the script in the editor of select 'File' if the script is in a file. Enter the file name to upload the file.
Click on 'Save'.
There is an optional feature which helps you to add different actions for the same field. For example, if you want to add a mouse over message to a text field, and you want to display a message to alert the user for entering invalid data, this feature can be used. Click the '+' sign against 'Advanced Scripting' to expand to define the custom method and arguments. You can add the custom method and the arguments for the method.