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.

Scripts list

Column
Description
Name
The display name given to the script.
Type
Tile Data (JavaScript) or Monitor Condition (JavaScript), depending on what the script was created for.
Id
The unique identifier for the script, used to reference it elsewhere, such as in Data Source Definitions.

Page controls

Icon
Control
Description
—
Search
Enter text to filter the list. Every column is searched.
—
Column headings
Click a column heading to sort the list by it.
—
Add script
Click to open the Add script window.
Edit script
Click to open the Edit script window and change the script.
Delete script
Click to permanently delete the script. Anything using it stops working.

Add script window

Setting
Description
Name
Required. Enter a name for the script, from 2 to 128 characters.
Script Type
Required. Select Tile Data (JavaScript) or Monitor Condition (JavaScript). Cannot be changed once the script is created. Monitor Condition (JavaScript) depends on your plan.
Script editor
Enter your script. By default you see an example script, which helps you understand how to structure your own. Scripts are limited to 10KB.

Script permissions

Adding, editing and deleting scripts needs either administrator rights or a group with the Can manage scripts permission. Everyone else can open the page and see the existing scripts, but not change them.

See Tile Data Scripts for the full script syntax and usage guide.

See Monitoring Condition Scripts for the full script syntax and usage guide.

Was this article helpful?


Have more questions or facing an issue?