See Quick Start Guide – Form Builder Customization for the context of this article. The previous article was 1e. Manage IM Form Builder Workflows and the next article is 1g. Manage Form Builder Permissions.
Add Plutora and Plutora Test data to your forms. Plutora’s external APIs can now be called through the custom javascript engine.
Administrators can add Javascript to Form Builder Customization, which can be:
- Configured to perform actions, such as creating Releases from form data.
- Set to trigger at various times. For example, when a form closes, or when a field saves.
For help with creating scripts, contact Plutora Support.
1. Enable Scripts
To enable scripts for a form in IM:
- Go to Settings
> Customization > Initiative Management (IM).
- Click Form Builder.
- Click a Form Title to edit a form in Form Designer.
- Click the Form Information menu button on the top-right corner of the form.
- Click to select the Allow Scripts checkbox.
2. Manage Scripts
To manage scripts:
- Click Script Manager.
- Add and edit:
- Add: Click + New.
Or:
Edit: Click to select the script in the right-hand panel.
- Click and edit the script name in the right-hand panel.
- Set a Trigger:
- Click to select a trigger from Trigger On to choose when the script will be run.
- None: The script will not be triggered.
- Open: When the form opens.
- Close: When the form closes.
- Save: When a field saves.
- Remove: When a form is deleted.
- Click to select a trigger from Trigger On to choose when the script will be run.
- Enable the script:
Scripts will not run unless enabled. - Type or paste the script.
- Find tips for creating scripts, including how to make external API calls to Plutora and Plutora Test, in Setup (Custom Scripts) Customization.
- Customers can create their own scripts or ask Plutora to create scripts for them.
- Click Save.
- Click the X at the top-right corner to close the pop up.
- Add: Click + New.
- Delete: