Library dependencies

If the code requires to be extended with libraries, you must first upload those libraries. Then add the libraries as a dependency to the script that uses them.

After the libraries are added, you can browse them in the folder structure and open the files contained within the libraries.

If you hover over an added library, you can view these details:

  • Which library version is currently used in the script.
  • What other versions of the library are available in ION.

To add a library or libraries as a dependency to a script:

  1. Expand the scripts right panel.
  2. Expand the Libraries accordion.
  3. Click the '…' ellipsis menu.
  4. Click Add Library.

    The Select Libraries dialog box is displayed with the list of all libraries in ION and the versions available for each. For each listed library these details are provided:

    • Library name
    • Library description
    • Available versions
    • Last updater's username
    • Last updated date

    You can search through the libraries using the Search field above the data grid. Search is filtering the results according to the library names, library description and user that uploaded the latest version of the library.

  5. Select one or more rows to add the desired libraries as dependencies to the script.
  6. Select the version of each library from the Version column if required.
  7. Click OK to add the selected libraries as dependencies to the script.

    To fix issues of missing libraries, you can identify the name and version of the missing library and import it in ION Scripting. After the missing library is imported, the error status is removed. If the library dependency is no longer required, you can remove the library from the script.

    Note: Scripts that have missing libraries as a dependency cannot be approved. You must first fix the error to approve and use this script in active data flows.