Scripts settings
Scripts let you write custom JavaScript to implement logic that isn't covered by the standard product functionality, such as fetching tile data in a custom way or evaluating a custom monitor condition. Scripts are maintained on the Settings > Advanced > Scripts page and can be used across each of your workspaces.
You can view, add and manage your scripts from Settings > Advanced > Scripts.
See Scripts
Adding a script
- Navigate to Settings > Advanced > Scripts.
- Click Add script.
- Complete the following in the Add script window:
- Display name:
Enter a name for your script. This helps you to identify this script in the list of your scripts. - Script type:
Select Tile Data (JavaScript) or Monitor Condition (JavaScript), depending on the type of script you want to create. - Script editor:
Enter your script. By default, you will see an example script in the editor. The example will help you to understand how to structure your script.
- Display name:
- Click Save. The script is created and added to the table.
See Tile Data Scripts for the full script syntax and usage guide.
See Monitoring Condition Scripts for the full script syntax and usage guide.