4 Replies Latest reply on May 3, 2019 9:08 AM by rsaturns1

    using javascript library

    jbweber2 Enthusiast

      Is it possible to use an external javascript library inside of a scripting element?

       

      As an example I'm implementing some logic from a vCAC workflow into a vCO workflow and it would be nice if I could access some of the tools in underscore.js to rewrite this logic. With the rhinojs console I can just run load(filename) to load tools into context, but I couldn't find a similar analog in the docs for vCO. Actions seem to kind of do what I want, but rather than single reusable operations I'd like to do something more analogous to importing a library in java and being able to use it in context.