JavaScript Validations
- Enterprise IT
- Mayuresh Balaji Kamble (Unlicensed)
- Shilpa K (Deactivated)
CINDE supports the JavaScript validations that are configured for Catalogs in the SummitAI application. Using JavaScript support, the fields of the Catalog can be enabled, disabled, and pre-filled. Based on the data provided in the text fields, the validation messages are pop-up in the SummitAI application. The same concept is applied in the CINDE in a conversational way.
When a user asked CINDE for a catalog that is configured with the JavaScript, the fields configured in the catalog are displayed as questions. Based on the provided information, the JavaScripts are executed and CINDE responds accordingly with the subsequent questions. The pop-up validation messages displayed in the SummitAI application are displayed as instructions in CINDE for the user.
To Configure the JavaScript Validations:
- Select Admin > Basic > Infrastructure > Form Builder.
- Select the Tenant and specify the Module.
- Select the required Department and the Catalog.
- Under the ADDITIONAL INFO tab, click the validate controls icon.
- On the VALIDATE CONTROLS pop-up page, click ADD icon to specify the Rules.
- Click NEXT to view the ACTIONS tab.
- Select the Script Type as Manually Add Script.
- Under the Manual Script field, add JavaScript which is to be applied to the catalog.
- Click SAVE.
Confluence Cloud Migration Alert: Please refer to known issues you may encounter in Confluence Cloud: https://eitdocs.atlassian.net/wiki/x/wDGwAQ