I can't seem to access anything (methods, props) exposed by my gateway scripting project. I've restarted the gateway (gwcmd -r), closed and reopened my designers, re-assigned the project in the gateway (v8.1.38) settings. Also tried executing my script from a Vision button, but get the same error.
I've reviewed the docs and searched the forums but didn't identify a resolution to my problem. Anyone have a suggestion?
This is a side-by-side and config:
The gateway scripting project is the project that tags (which don't exist in any one project) can access the scripting library of. What you are looking for is Project Inheritance.
In the Projects section of the Config section of the gateway interface, you can configure what project to inherit from on a per project basis. You can also set this when creating a project.
You can also set a project as inheritable, which prevents you from launching any clients of it, but allows it to be inherited into other projects. Only projects marked as inheritable can be inherited.
The gateway scripting project is only relevant when something is executing in gateway scope and is not explicitly associated with a project, such as a tag event script.
2 Likes
Thanks for the help, I was able to use my Gateway Scripting Project to populate an expression tag.
How might I identify gateway-scoped opportunities? This Gateway Scripting Project looked like a way to expose methods and properties to all projects without chaining Project Inheritance.
It is not. It is only accessed by non-project objects in the gateway, like expression tags and tag event scripts (on the tag).