Abbreviations, used in the manual:
RDA - Reference Data Admin
FW - Form Wizard
RDAD - RDA Designer
RDAE - RDA Editor
Scriptable Buttons allow the user to run different processes related to FW data in the format of SQL query, SQL execute (update, insert, ...), link from the FW to another URL, or run CMD command(s). Scriptable Buttons can be related one to another and enable another button on specific results.
In order to create a new Scriptable Button, follow the next steps:
1. In the RDAD module, in the left side menu, under specific Project, go to the “Forms Wizard” component, Step 3, click “Edit settings” button and scroll down to the "Scriptable Buttons" section.
Click "Add Button".
2. Fill in all needed fields:
Name - assign a name to the Scriptable Button.
Script - select the Script that will be implemented when clicking the button.
Hover Text - text that will be shown on hover.
Disable if - allows to conduct the buttons by other pre-build Script(s). The Scriptable Button will be disabled if the defined Script returns status “Failure”. It allows to create a dependency between Scripts.
For example: in a case where the chosen Script in the "Disable if" field has Script named "open url" (as shown in the image below), than the Scriptable button will be disabled as long as the "open url" Script will return tatus “Failure”.
Confirm Popup - when enabled, a confirmation message, displaying the Script name, will appear when clicking the Scriptable Button in Step 4 RDAD or in the RDAE module. This ensures that the Script won't be implemented immediately, allowing you to confirm your action first.
For example:
Background Color - button's background color.
Text Color - button's text colour.
Height - default size is 30 PX.
Width - default size is 100 PX.
Up-down arrows - define the order of the Scriptable Buttons in Step 4 / RDAE module.
Plus button - add another Scriptable Button.
Delete button - delete the Scriptable Button.
"Use Form Variable" - when the switcher is on, choose the "Column" that will be related to the values from the Script.
In Step 4 / RDAE module, while using this Scriptable Button, a pop-up will be shown with the relevant values from the chosen column:
Please refer to the detailed manual to create a Script: RDA, Scripts
Comments
0 comments
Please sign in to leave a comment.