Create a script
To create a new script, you can either use the resources stored within Neptune DXP - Open Edition as a starting point or create completely new scripts.
Prerequisites
-
You have created a project.
Procedure
-
In the Application components pane, right-click Scripts. When you open a new project, the entries Scripts and Globals are shown in the Application components pane by default.
-
Select Create Script.
Result: The Create New Server Script dialog opens.
-
In Name, enter a meaningful name for the script.
-
In Description, enter a meaningful description of the script.
-
To optionally group similar scripts, in Folder, assign a script a folder tag. Scripts that contain the folder tag are grouped to the same-name folder in the Application component pane.
-
In Language, to define the language the script is written in, select between JavaScript and TypeScript.
-
Select Create.
You can import scripts that are stored on your computer. Right-click Scripts and select Import Script. |
Result
-
You have created a script in the language selected, and it is shown in the Application components pane.
-
The focus of the Script Editor changes to the Script editing pane of the script.