@PGriffith
I try to understand the minimum requirement to add some expression function for perspective only.
With a module for Vision/Designer/Gateway scope, configureFunctionFactory in the module Hook enable to add some expression function for all scope
Expression functions added are available to prespective too.
I suppose this is due to Designer hook configureFunctionFactory ans gateway Hook configureFunctionFactory ?
But if I want to create a module for Gateway/Perspective only and add some expression Function, do I need to use only the GatewayHook and the DesignerHook ?
what are the dependency to use in the Gateway project, designer project ?
designer project pom:
<dependency>
<groupId>com.inductiveautomation.ignitionsdk</groupId>
<artifactId>client-api</artifactId>
<version>${ignition-sdk-version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.inductiveautomation.ignitionsdk</groupId>
<artifactId>designer-api</artifactId>
<version>${ignition-sdk-version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.inductiveautomation.ignitionsdk</groupId>
<artifactId>vision-designer-api</artifactId>
<version>${ignition-sdk-version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
client-api is required for vision or perspective or both
build pom
<projectScopes>
<projectScope>
<name>Utils-gateway</name>
<scope>G</scope>
</projectScope>
<projectScope>
<name>Utils-common</name>
<scope>CDG</scope>
</projectScope>
<projectScope>
<name>Utils-designer</name>
<scope>CD</scope>
</projectScope>
</projectScopes>
<!--> pour perspective-->
<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>D</scope>
<hookClass>com.bouyguesenergiesservices.ignition.designer.utils.DesignerHook</hookClass>
</hook>
<hook>
<scope>G</scope>
<hookClass>com.bouyguesenergiesservices.ignition.gateway.utils.GatewayHook</hookClass>
</hook>
</hooks>