# Module Development

**URL:** https://forum.inductiveautomation.com/c/module-development/7.md?page=23

[Latest](https://forum.inductiveautomation.com/latest.md) · [Categories](https://forum.inductiveautomation.com/categories.md) · [Tags](https://forum.inductiveautomation.com/tags.md)

**Page:** 24

---

## [Adding a combo box to the modules settings config panel, which is bound to string field in settings record](https://forum.inductiveautomation.com/t/adding-a-combo-box-to-the-modules-settings-config-panel-which-is-bound-to-string-field-in-settings-record/71781)

<div class="topic-metadata">

**Author:** [@Denis\_Cote](https://forum.inductiveautomation.com/u/Denis_Cote)\
**Replies:** 3\
**Last updated:** [March 29, 2023, 4:30pm UTC](https://forum.inductiveautomation.com/t/adding-a-combo-box-to-the-modules-settings-config-panel-which-is-bound-to-string-field-in-settings-record/71781 "2023-03-29T16:30:18Z")

</div>

Does anyone have an example of how to do this. Thanks!

---

## [Make Perspective Component Respect System Themes](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 3\
**Last updated:** [March 27, 2023, 8:35pm UTC](https://forum.inductiveautomation.com/t/make-perspective-component-respect-system-themes/71527 "2023-03-27T20:35:50Z")

</div>

Is there a CSS class or a different hook I need to use to make my custom perspective component respect the session theme?

---

## [Perpective Component Module Maven Build Example](https://forum.inductiveautomation.com/t/perpective-component-module-maven-build-example/71236)

<div class="topic-metadata">

**Author:** [@kanduri.shouri](https://forum.inductiveautomation.com/u/kanduri.shouri)\
**Replies:** 4\
**Last updated:** [March 19, 2023, 8:59pm UTC](https://forum.inductiveautomation.com/t/perpective-component-module-maven-build-example/71236 "2023-03-19T20:59:43Z")

</div>

Hello, I intend to create a perspective component which contains some text fields as the input and there will be a function in the gateway scope which accepts these input from the perspective component as params to run…

---

## [Tag configure history in Java, set Min Time between samples](https://forum.inductiveautomation.com/t/tag-configure-history-in-java-set-min-time-between-samples/71188)

<div class="topic-metadata">

**Author:** [@tom.prodehl](https://forum.inductiveautomation.com/u/tom.prodehl)\
**Replies:** 0\
**Last updated:** [March 16, 2023, 8:27pm UTC](https://forum.inductiveautomation.com/t/tag-configure-history-in-java-set-min-time-between-samples/71188 "2023-03-16T20:27:52Z")

</div>

tagPropsCfg.set(TagHistoryProps.HistorySampleMode, SampleMode.OnChange); if Min Time Between Samples is 1 second and tag is updated at about that rate, samples get tossed. If Min time between is 0, samples do not get t…

---

## [Modifying module build number to timestamp instead of b(0)](https://forum.inductiveautomation.com/t/modifying-module-build-number-to-timestamp-instead-of-b-0/71095)

<div class="topic-metadata">

**Author:** [@Titus\_Louage](https://forum.inductiveautomation.com/u/Titus_Louage)\
**Replies:** 7\
**Last updated:** [March 15, 2023, 6:46pm UTC](https://forum.inductiveautomation.com/t/modifying-module-build-number-to-timestamp-instead-of-b-0/71095 "2023-03-15T18:46:20Z")

</div>

Hello everyone! I'm creating my own perspective module for Ignition. I'm basing myself on the ignition-sdk-examples repository (ignition-sdk-examples/perspective-component at master · inductiveautomation/ignition-sdk-ex…

---

## [Designer save hook](https://forum.inductiveautomation.com/t/designer-save-hook/70037)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 2:13pm UTC](https://forum.inductiveautomation.com/t/designer-save-hook/70037 "2023-03-15T14:13:39Z")

</div>

Looking around I’m not finding anything, I know you can create project scripts on a designer save, but is there a module hook you can implement to trigger module scripts on designer saves?

---

## [ScriptManager.runScriptFunction() example](https://forum.inductiveautomation.com/t/scriptmanager-runscriptfunction-example/70667)

<div class="topic-metadata">

**Author:** [@kanduri.shouri](https://forum.inductiveautomation.com/u/kanduri.shouri)\
**Replies:** 3\
**Last updated:** [March 14, 2023, 3:15pm UTC](https://forum.inductiveautomation.com/t/scriptmanager-runscriptfunction-example/70667 "2023-03-14T15:15:37Z")

</div>

Hello, My main aim is to use python system functions and make a module according to our application. I am trying to extract tag historian Data through SDK module programming. I have taken managed-tag-provider example …

---

## [Could not find artifact net.java.dev.jna:jna:pom:5.12.0-SNAPSHOT in snapshots (https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots)](https://forum.inductiveautomation.com/t/could-not-find-artifact-net-java-dev-jnapom-5-12-0-snapshot-in-snapshots-https-nexus-inductiveautomation-com-repository-inductiveautomation-snapshots/70976)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 2\
**Last updated:** [March 13, 2023, 8:30pm UTC](https://forum.inductiveautomation.com/t/could-not-find-artifact-net-java-dev-jnapom-5-12-0-snapshot-in-snapshots-https-nexus-inductiveautomation-com-repository-inductiveautomation-snapshots/70976 "2023-03-13T20:30:05Z")

</div>

When I compile one module I have the following error: Could not find artifact net.java.dev.jna:jna:pom:5.12.0-SNAPSHOT in snapshots (https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots) The m…

---

## [Licence my custom module](https://forum.inductiveautomation.com/t/licence-my-custom-module/70945)

<div class="topic-metadata">

**Author:** [@Ahmed\_mohamed](https://forum.inductiveautomation.com/u/Ahmed_mohamed)\
**Replies:** 2\
**Last updated:** [March 12, 2023, 3:40pm UTC](https://forum.inductiveautomation.com/t/licence-my-custom-module/70945 "2023-03-12T15:40:58Z")

</div>

Hi everyone, i finished my module and I'm looking to make it licensed. now i generated a "License Key" but I'm struggling with how to use it! Any help will be appreciated

---

## [Overriding gatewayAddress in Maven Build](https://forum.inductiveautomation.com/t/overriding-gatewayaddress-in-maven-build/70755)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 11:22pm UTC](https://forum.inductiveautomation.com/t/overriding-gatewayaddress-in-maven-build/70755 "2023-03-07T23:22:06Z")

</div>

This is probably a question for StackOverflow, but is there a way to override the property in the ignition-maven-plugin so that I have it install to a different gateway address after it compiles? I want to leave the de…

---

## [Load 2 Gatewayhooks in 1 Module](https://forum.inductiveautomation.com/t/load-2-gatewayhooks-in-1-module/70660)

<div class="topic-metadata">

**Author:** [@roland.scheuer](https://forum.inductiveautomation.com/u/roland.scheuer)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 3:02pm UTC](https://forum.inductiveautomation.com/t/load-2-gatewayhooks-in-1-module/70660 "2023-03-06T15:02:42Z")

</div>

Hello, is it possible to have 2 Gateway Hooks in one Module. \<hooks\> \<hook\> \<scope\>G\</scope\> \<hookClass\>example.DeviceLoader\</hookClass\> \</hook\> \<hook\> \<scope\>G\</scope\> \<hook…

---

## [NullPointerException while trying to readAsync properties for tags with empty names](https://forum.inductiveautomation.com/t/nullpointerexception-while-trying-to-readasync-properties-for-tags-with-empty-names/70590)

<div class="topic-metadata">

**Author:** [@marius.oancea](https://forum.inductiveautomation.com/u/marius.oancea)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 2:50pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-while-trying-to-readasync-properties-for-tags-with-empty-names/70590 "2023-03-03T14:50:57Z")

</div>

I'm reading the tag properties in batches using tagManager.readAsync(propertyPaths). The problem is that one of the tag has empty name and the whole readAsync fails because of that with: java.lang.NullPointerException:…

---

## [Problem with parent project and SDK module](https://forum.inductiveautomation.com/t/problem-with-parent-project-and-sdk-module/70382)

<div class="topic-metadata">

**Author:** [@Sebastian\_Munoz\_Vasq](https://forum.inductiveautomation.com/u/Sebastian_Munoz_Vasq)\
**Replies:** 23\
**Last updated:** [March 1, 2023, 2:38pm UTC](https://forum.inductiveautomation.com/t/problem-with-parent-project-and-sdk-module/70382 "2023-03-01T14:38:24Z")

</div>

Hi, I have a project named test, which inherits some scripts and sfc from another project called global, so to make this work configure in Gateway Stettings in the Gateway Scripting Project part with the name "global", w…

---

## [How to get perspective session info in customized module?](https://forum.inductiveautomation.com/t/how-to-get-perspective-session-info-in-customized-module/70345)

<div class="topic-metadata">

**Author:** [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Replies:** 8\
**Last updated:** [February 28, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/how-to-get-perspective-session-info-in-customized-module/70345 "2023-02-28T14:57:45Z")

</div>

I created a module to get local files via server, but errors happen to PerspectiveSessionCollection psc = (PerspectiveSessionCollection) sess.getAttribute("perspective-session"); as below: java.lang.ClassCastException…

---

## [Adding a route with a POST method](https://forum.inductiveautomation.com/t/adding-a-route-with-a-post-method/69952)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 2\
**Last updated:** [February 26, 2023, 12:23am UTC](https://forum.inductiveautomation.com/t/adding-a-route-with-a-post-method/69952 "2023-02-26T00:23:28Z")

</div>

I am working on building out a module that includes a GET and a POST method on an endpoint. The GET endpoint is working great and just added with: this.routes.newRoute("/my/endpoint") .handler(this::get…

---

## [Deleting Tags From a Provider](https://forum.inductiveautomation.com/t/deleting-tags-from-a-provider/70009)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 8\
**Last updated:** [February 22, 2023, 2:48am UTC](https://forum.inductiveautomation.com/t/deleting-tags-from-a-provider/70009 "2023-02-22T02:48:48Z")

</div>

I am using com.inductiveautomation.ignition.gateway.tags.model.GatewayTagManager#importTagsAsync to create tags directly and it is working great. However if I import a folder that is already present, it doesn't remove a…

---

## [Class cast exception due to different class loaders](https://forum.inductiveautomation.com/t/class-cast-exception-due-to-different-class-loaders/67786)

<div class="topic-metadata">

**Author:** [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Replies:** 16\
**Last updated:** [February 22, 2023, 12:03am UTC](https://forum.inductiveautomation.com/t/class-cast-exception-due-to-different-class-loaders/67786 "2023-02-22T00:03:45Z")

</div>

In our Kafka module, there is a audit profile type that allows for splitting of events, one way goes to local DB, the other goes to Kafka. When I install the module once, this works as expected without error. Audit Log…

---

## [Query from AWS Timestream or S3 to visualize historian in Ignition](https://forum.inductiveautomation.com/t/query-from-aws-timestream-or-s3-to-visualize-historian-in-ignition/69290)

<div class="topic-metadata">

**Author:** [@David\_Choi](https://forum.inductiveautomation.com/u/David_Choi)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 10:44pm UTC](https://forum.inductiveautomation.com/t/query-from-aws-timestream-or-s3-to-visualize-historian-in-ignition/69290 "2023-02-19T22:44:11Z")

</div>

Good Morning Ignition Team, We want to integrate cloud-based storage for all historians (instead of using on-prem typical SQL). Are there any method or module that's already available, or in development-pipeline to all…

---

## [Problem installing 2 sdk modules](https://forum.inductiveautomation.com/t/problem-installing-2-sdk-modules/70024)

<div class="topic-metadata">

**Author:** [@Sebastian\_Munoz\_Vasq](https://forum.inductiveautomation.com/u/Sebastian_Munoz_Vasq)\
**Replies:** 8\
**Last updated:** [February 17, 2023, 8:48pm UTC](https://forum.inductiveautomation.com/t/problem-installing-2-sdk-modules/70024 "2023-02-17T20:48:17Z")

</div>

Hello good day, I am learning to use the tool to create sdk modules to add scripts, however, I wanted to perform a test to create some script modules, install them without problems and work correctly in the gateway but I…

---

## [Best Practices for Adding Fields to Persistent Records](https://forum.inductiveautomation.com/t/best-practices-for-adding-fields-to-persistent-records/62673)

<div class="topic-metadata">

**Author:** [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Replies:** 11\
**Last updated:** [February 17, 2023, 5:57pm UTC](https://forum.inductiveautomation.com/t/best-practices-for-adding-fields-to-persistent-records/62673 "2023-02-17T17:57:10Z")

</div>

When making a persistent record with lets say 10 fields, when that module is first installed on the gateway it will create a SQLITE table that is 10 columns. If someone else who uses the module and then says hey, it’d b…

---

## [Style prop for component](https://forum.inductiveautomation.com/t/style-prop-for-component/69786)

<div class="topic-metadata">

**Author:** [@Baris.kose](https://forum.inductiveautomation.com/u/Baris.kose)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 3:51pm UTC](https://forum.inductiveautomation.com/t/style-prop-for-component/69786 "2023-02-14T15:51:30Z")

</div>

Hello all, I was looking at how to use style prop for my module. I couldn't find anything about it. I will be very brief. There is a section in props.json file as "style": { "$ref": "urn:ignition-sche…

---

## [Package Loader? like Class Loader with Reflect](https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810)

<div class="topic-metadata">

**Author:** [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Replies:** 7\
**Last updated:** [February 14, 2023, 1:38am UTC](https://forum.inductiveautomation.com/t/package-loader-like-class-loader-with-reflect/69810 "2023-02-14T01:38:49Z")

</div>

Hi, need some help with this one. I've successfully imported some external classes through a module however there a lot of classes to manually reflect each one. Is there a thing like Package Loader?

---

## [Button Acction commands to Perspectve](https://forum.inductiveautomation.com/t/button-acction-commands-to-perspectve/69779)

<div class="topic-metadata">

**Author:** [@Leandro\_Garcia\_Carva](https://forum.inductiveautomation.com/u/Leandro_Garcia_Carva)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 4:34pm UTC](https://forum.inductiveautomation.com/t/button-acction-commands-to-perspectve/69779 "2023-02-13T16:34:17Z")

</div>

Hi I need to convert a Vision project to Perspective. There are two action from two diferent buttons that I need to make at perspective. Could you tell me the equivalent action for the perspective buttons below? Button …

---

## [Script python in java](https://forum.inductiveautomation.com/t/script-python-in-java/69623)

<div class="topic-metadata">

**Author:** [@Sebastian\_Munoz\_Vasq](https://forum.inductiveautomation.com/u/Sebastian_Munoz_Vasq)\
**Replies:** 7\
**Last updated:** [February 9, 2023, 4:06pm UTC](https://forum.inductiveautomation.com/t/script-python-in-java/69623 "2023-02-09T16:06:02Z")

</div>

hello, I am working on running a phynton code in a java sdk module, first I wanted to try with a simpler function as I show below and I manage to extract the date protected void testImpl() throws Exception { Gateway…

---

## [Calling OPC UA methods](https://forum.inductiveautomation.com/t/calling-opc-ua-methods/69403)

<div class="topic-metadata">

**Author:** [@Lele\_Krele](https://forum.inductiveautomation.com/u/Lele_Krele)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 9:48am UTC](https://forum.inductiveautomation.com/t/calling-opc-ua-methods/69403 "2023-02-07T09:48:45Z")

</div>

Hi everyone I have a general question on how to do calling methods in OPC UA. Our device in lab supports methods, so we need to be able to call them, is it possible to use Ignition for that? After, is it possible to s…

---

## [Module signing tool problem](https://forum.inductiveautomation.com/t/module-signing-tool-problem/36503)

<div class="topic-metadata">

**Author:** [@rshah18](https://forum.inductiveautomation.com/u/rshah18)\
**Replies:** 4\
**Last updated:** [July 8, 2020, 5:55pm UTC](https://forum.inductiveautomation.com/t/module-signing-tool-problem/36503 "2020-07-08T17:55:31Z")

</div>

C:\\Users\\rshah\\Downloads\\module-signer-master\\module-signer-master\\target\>java -jar module-signer-1.0.0-SNAPSHOT.jar -keystore=“C:\\keyToFile\\KeyStore.jks” -alias=tutorialpedia -keystore-pwd=\*\*\*\*\*\* -chain=“C:\\Users\\rshah…

---

## [Ignition 8.1.17 - after upgrading from 8.1.16, pages message sent doesn't trigger perspective message handler?](https://forum.inductiveautomation.com/t/ignition-8-1-17-after-upgrading-from-8-1-16-pages-message-sent-doesnt-trigger-perspective-message-handler/59542)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 19\
**Last updated:** [February 3, 2023, 1:15pm UTC](https://forum.inductiveautomation.com/t/ignition-8-1-17-after-upgrading-from-8-1-16-pages-message-sent-doesnt-trigger-perspective-message-handler/59542 "2023-02-03T13:15:20Z")

</div>

Hi @PGriffith, I've upgraded an application from Ignition 8.1.16 to Ignition 8.1.17 I have a module that send message to perspective pages. All works fine in 8.1.16, but after upgrading in 8.1.17, the message are not …

---

## [Maven Plugin POST but with Gradle](https://forum.inductiveautomation.com/t/maven-plugin-post-but-with-gradle/61879)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 29\
**Last updated:** [February 2, 2023, 10:17pm UTC](https://forum.inductiveautomation.com/t/maven-plugin-post-but-with-gradle/61879 "2023-02-02T22:17:59Z")

</div>

I am looking at using Gradle instead of Maven for module development, and I have been looking around but haven't found anything obvious. Is there a way to do the post goal provided by the Maven plugin from Gradle? As …

---

## [Ignition Settings Next Page](https://forum.inductiveautomation.com/t/ignition-settings-next-page/38595)

<div class="topic-metadata">

**Author:** [@cboin](https://forum.inductiveautomation.com/u/cboin)\
**Replies:** 68\
**Last updated:** [February 1, 2023, 9:26pm UTC](https://forum.inductiveautomation.com/t/ignition-settings-next-page/38595 "2023-02-01T21:26:21Z")

</div>

Hello, In the OPC device settings there is a table with different devices, and then once you select that device and click next it pulls up a settings record different from the others. This looks like a recordActionTabl…

---

## [Questions on ignition-sdk-examples/perspective-component](https://forum.inductiveautomation.com/t/questions-on-ignition-sdk-examples-perspective-component/68399)

<div class="topic-metadata">

**Author:** [@Jason\_Zhou](https://forum.inductiveautomation.com/u/Jason_Zhou)\
**Replies:** 37\
**Last updated:** [February 1, 2023, 5:38pm UTC](https://forum.inductiveautomation.com/t/questions-on-ignition-sdk-examples-perspective-component/68399 "2023-02-01T17:38:51Z")

</div>

So I'm using Ignition's perspective component examples as a close reference while I'm building my own module as I go. I was wondering if I could use this post as a general questioning post that others could potentially f…

[Previous page](https://forum.inductiveautomation.com/c/module-development/7.md?page=22)

[Next page](https://forum.inductiveautomation.com/c/module-development/7.md?page=24)
