About Script Creation

As a Leader, you can write scripts that are linked to templates for the following customization in the app (for example, initializer, formula, or validation rules).

See Also
Workflow for Setting up the Environment for Public API to Customize Analyses
About Customization of Analyses with Scripts
About Templates
Template Creation and Deployment

To define these scripts, you can implement the corresponding interfaces using the provided public API in TypeScript. For more information, see Interfaces.

Afterward, compile the TypeScript script into JavaScript using the following command:

tsc --module amd [scriptFile.ts pathFile]

Afterward, an Administrator can deploy your scripts on the server.