Hello,
I need to call Jython function from Java SDK. Is it possible to access to Project Library from Java SDK in Client or Gateway scope ?
Thank you
Hello,
I need to call Jython function from Java SDK. Is it possible to access to Project Library from Java SDK in Client or Gateway scope ?
Thank you
It’s possible, but generally not a good idea to directly call a script library. Better practice would be to create your own script editor (see CodeEditorFactory
or ExtensionCodeEditor
) to allow end users dynamic scripting in the designer.
In either event, you’ll want to access the ScriptManager
from the scope’s local context object. There’s a variety of methods on that class to precompile or directly run arbitrary code.