Creating and attaching scripts

Preliminary information

To create a new script or edit an existing one, go to the Library module and select the Scripts. A list of available scripts will be presented. From this view you can create a new script, review the script version history, create a copy, or edit an existing artifact.

Illustration 1. Window with the list of scripts and the context menu of one of the artifacts

Creating a script

Script Service is one of the types of artifacts in the repository. To add a script service, use Eximee Designer and go to the Library → Scripts, then click the button on the right Add script.

Illustration 2. Adding scripts

Edit window

The edit window allows changing the script content, input and output parameters, and running the script on test data:

Illustration 3. Script service edit window

Attaching on the form

For a specific component in the Properties panel you should select Interactions → External data source → Select service, then choose the name of the script and assign the appropriate components to the input and output parameters.

We can also attach scripts as input services, output services, and page services.

Illustration 4. Attaching a script to the application

Redirect to the script code

After attaching the script, an icon will appear on the right side of the window allowing navigation to the script source code. After clicking the icon, the editor window with the source of that script will open in the current browser tab. You can also right-click the icon and then choose to open the script source in a new tab or a new browser window.

Illustration 5. Context menu of the icon directing to the script source

Last updated

Was this helpful?