Skip to Content
Former Member
Sep 12, 2013 at 11:48 AM

Libraries for scripting



I have written some Redwood scripts that help us automatize some tasks in the system. Currently, the source code is directly visible in the job definitions. Now, in order to prevent anyone from fiddling with the code, I'd like to put it into a library and just call the methods from within the Code section of the Job definition. However, since the scripts make heavy use of the Redwood API and I don't have them available as I would have the standard Java SDK, I cannot really compile any classes as the objects and methods are not known outside CPS.

Is there any way of accomplishing this?