In most circumstances, we’ll automatically set various values on the com.inductiveautomation.ignition.common.script.ScriptContext
class before actually invoking a script. You can use the defaultProject()
method on that class.
2 Likes