Ignition 8.0.16-RC1
I have a gateway with perspective and vision module installed.
I’ve create a module with some script functions exposed in the gateway scope.
This module depends from perspective module.
<depends>
<depend>
<scope>G</scope>
<moduleId>com.inductiveautomation.perspective</moduleId>
</depend>
<depend>
<scope>D</scope>
<moduleId>com.inductiveautomation.perspective</moduleId>
</depend>
</depends>
<hooks>
<hook>
<scope>G</scope>
<hookClass>com.bouyguesenergiesservices.ignition.gateway.utilsperspective.GatewayHook</hookClass>
</hook>
</hooks>
Thoses scripts functions are available in Action Script for perspective components with autocompletion.
Nevertheless, those scripts functions are not available in the script project library with autocompletion.
In my perspective module I don’t have a designer scope. It’s seems not necessary for exposing gateway script function for perspective components.
It’s seems to be a bug.
I have the same issue with IA built-in script functions
IA script function system.perspective.* are not available for autocompletion in the project script library, but those fonction are available for autocompletion in the perspective component action script
perspective component action script
project script library