Importing Scripts into the Project from a File

You have a previously-exported .js file (individual script) or .zip file (scripts folder) that you want to use in the project.
To be able to execute these scripts (regardless of whether the scripts are protected), you must import them so that they are added under Applications > Logics > Scripts.

Be careful when importing scripts

To avoid unintended side effects or conflicts during the scripts execution, before importing scripts into a library or project, it is recommended to check the scripts already present in the system.

Additionally, to help save system resources, it is recommended to avoid importing unnecessary or wrong scripts.

 

  • System Manager is in Engineering mode.
  1. In System Browser, select Application View.
  1. Select Applications > Logics > Scripts.
  • The Script Editor tab displays.
  1. Click Import .
  1. In the File Open dialog box, select what to import: individual scripts (.js files) or folders of scripts (.zip files).
  • If the files were previously exported from Desigo CC, the import operation proceeds till completion, otherwise you are prompted to enter a name and description for any new script.
    Any new script or folder is recursively created in System Browser.
    The imported scripts are included in the project backup.
  1. (Optional) To activate validation checks on the signature of the newly- imported script, click Enable Signature Validation .