Add resources to a script

You can add the following resources to a script:

Prerequisites

  • You have created a new script or imported an existing one.

  • The script is in edit mode. An open lock icon for the script in the Application component pane indicates that you have opened the script and can edit it. If the script is in display mode, right-click the script and select Edit.

Procedure

  1. Browse the Reusable component pane for the resource you want to add to your script.

  2. Drag and drop the resource you want to add to the script in the Application component pane. The background color of the components of the script becomes orange where it is possible to add a resource via drag and drop.

    Result: The Enter New Context Name dialog opens.

  3. Enter a context name for your resource. You can keep the existing one or choose a new one.

  4. Select Apply.

Result

  • You have added a resource to your script and can reference it in the code.