# Module Development

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

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

**Page:** 39

---

## [How to reference existing Perspective views](https://forum.inductiveautomation.com/t/how-to-reference-existing-perspective-views/35341)

<div class="topic-metadata">

**Author:** [@blakekinder](https://forum.inductiveautomation.com/u/blakekinder)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 10:12pm UTC](https://forum.inductiveautomation.com/t/how-to-reference-existing-perspective-views/35341 "2020-06-04T22:12:46Z")

</div>

How can I get a reference to existing views in a Perspective project? I’m creating a component that requires functionality similar to Perspective’s existing embed components.

---

## [Subscribe tagchange with previous/current values 8.0 +](https://forum.inductiveautomation.com/t/subscribe-tagchange-with-previous-current-values-8-0/35233)

<div class="topic-metadata">

**Author:** [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Replies:** 4\
**Last updated:** [June 1, 2020, 11:36pm UTC](https://forum.inductiveautomation.com/t/subscribe-tagchange-with-previous-current-values-8-0/35233 "2020-06-01T23:36:10Z")

</div>

How do you get the previous/current value of a tag using context.getTagManager().subscribeAsync ? I see com.inductiveautomation.ignition.common.util.FilteredTagChangeListener.FilteredTagChangeEvent that looks like it h…

---

## [Internet Explorer Vision Module](https://forum.inductiveautomation.com/t/internet-explorer-vision-module/34739)

<div class="topic-metadata">

**Author:** [@msnyder](https://forum.inductiveautomation.com/u/msnyder)\
**Replies:** 2\
**Last updated:** [May 14, 2020, 3:11pm UTC](https://forum.inductiveautomation.com/t/internet-explorer-vision-module/34739 "2020-05-14T15:11:10Z")

</div>

Has anyone developed an IE based module for vision? I have an application that needs to use ActiveX instead of WebGL and the Inductive automation web browser module seems to use chromium which uses WebGL. Any info would …

---

## [Upgrade to 8.0.10 breaks components \[Fixed\]](https://forum.inductiveautomation.com/t/upgrade-to-8-0-10-breaks-components-fixed/33665)

<div class="topic-metadata">

**Author:** [@bas.dejong](https://forum.inductiveautomation.com/u/bas.dejong)\
**Replies:** 8\
**Last updated:** [May 13, 2020, 6:53am UTC](https://forum.inductiveautomation.com/t/upgrade-to-8-0-10-breaks-components-fixed/33665 "2020-05-13T06:53:41Z")

</div>

We’ve upgraded our gateway to 8.0.10 which broke our components. Property changes no longer update the component. The component wil however update properties. Does this have anything to do with: https://inductiveautomati…

---

## [Script function with a keyword args dictionnary](https://forum.inductiveautomation.com/t/script-function-with-a-keyword-args-dictionnary/34660)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 6\
**Last updated:** [May 12, 2020, 5:28pm UTC](https://forum.inductiveautomation.com/t/script-function-with-a-keyword-args-dictionnary/34660 "2020-05-12T17:28:25Z")

</div>

When a script function has a keyword args dictionnary, what is the bast practice to convert the args for the java world…and obtain an HashMap object PyArgumentMap args = PyArgumentMap.interpretPyArgs(pyArgs, keywords, …

---

## [Unable to include .glb file in module resources, or webapps/main folder](https://forum.inductiveautomation.com/t/unable-to-include-glb-file-in-module-resources-or-webapps-main-folder/34473)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 6:38pm UTC](https://forum.inductiveautomation.com/t/unable-to-include-glb-file-in-module-resources-or-webapps-main-folder/34473 "2020-05-07T18:38:39Z")

</div>

I am trying to pull a .glb or .gltf file into perspective and visualize it through WebGL I have managed to setup the WebGL component, create objects in it in the runtime, and interact with them in the browser. However …

---

## [Unable to return HTMLDivElement in typescript component module](https://forum.inductiveautomation.com/t/unable-to-return-htmldivelement-in-typescript-component-module/34392)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 4:11pm UTC](https://forum.inductiveautomation.com/t/unable-to-return-htmldivelement-in-typescript-component-module/34392 "2020-05-04T16:11:57Z")

</div>

I am attempting to show a WebGL renderer in a perspective component, and have been working with a test component forked off the perspective example “image” component. I think I have made a bit of progress and the Typesc…

---

## [How to get the on-call roster in an alarm notification pipeline](https://forum.inductiveautomation.com/t/how-to-get-the-on-call-roster-in-an-alarm-notification-pipeline/34349)

<div class="topic-metadata">

**Author:** [@78503656](https://forum.inductiveautomation.com/u/78503656)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 3:48pm UTC](https://forum.inductiveautomation.com/t/how-to-get-the-on-call-roster-in-an-alarm-notification-pipeline/34349 "2020-05-01T15:48:22Z")

</div>

I’m trying to modify an alarm notification module. In the example of slack alarm notification, it show how to get the slackContactInfos. But how can I get the on-call roster in an alarm notification pipeline? Many thank…

---

## [Delay not working in "registerAtFixedRate WithInitial Delay()"](https://forum.inductiveautomation.com/t/delay-not-working-in-registeratfixedrate-withinitial-delay/34114)

<div class="topic-metadata">

**Author:** [@iwan.tolboom](https://forum.inductiveautomation.com/u/iwan.tolboom)\
**Replies:** 4\
**Last updated:** [April 28, 2020, 8:31pm UTC](https://forum.inductiveautomation.com/t/delay-not-working-in-registeratfixedrate-withinitial-delay/34114 "2020-04-28T20:31:02Z")

</div>

???Why can’t I use a function name in the topic title without getting the message: “The title is not clear, is it a complete sentence?” ??? Now for the topic: Hello, To verify if the connections with numerous PLC’s st…

---

## [Module Signer with PKCS11 and Java9+](https://forum.inductiveautomation.com/t/module-signer-with-pkcs11-and-java9/20816)

<div class="topic-metadata">

**Author:** [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Replies:** 11\
**Last updated:** [April 27, 2020, 1:02pm UTC](https://forum.inductiveautomation.com/t/module-signer-with-pkcs11-and-java9/20816 "2020-04-27T13:02:18Z")

</div>

It turns out that Java9 changed the implementation and usage of SunPKCS11, breaking Java8 code. I had to apply the following patch to the module-signer: From: "Philip J. Turmel" \<philip@turmel.org\> Date: Tue, 13 Nov…

---

## [Module Deploy while in debug mode](https://forum.inductiveautomation.com/t/module-deploy-while-in-debug-mode/34230)

<div class="topic-metadata">

**Author:** [@thijs1](https://forum.inductiveautomation.com/u/thijs1)\
**Replies:** 0\
**Last updated:** [April 27, 2020, 7:32am UTC](https://forum.inductiveautomation.com/t/module-deploy-while-in-debug-mode/34230 "2020-04-27T07:32:56Z")

</div>

Hi, When I’m in debugging mode (changed the ignition.conf file), I’m not able to deploy the module with the maven plugin to the server. Is there any workaround for this? Kind regards, Thijs

---

## [PLC Driver Question](https://forum.inductiveautomation.com/t/plc-driver-question/34210)

<div class="topic-metadata">

**Author:** [@neil1](https://forum.inductiveautomation.com/u/neil1)\
**Replies:** 2\
**Last updated:** [April 24, 2020, 10:53pm UTC](https://forum.inductiveautomation.com/t/plc-driver-question/34210 "2020-04-24T22:53:33Z")

</div>

Hi I am curious if I can retrieve the running program in any of the PLCs the Ignition driver stack supports. Is this possible and if not does anyone know of a driver suite that will let me gather this information? I do…

---

## [TagChangeListener not getting the tagChanged event in Ignition 8](https://forum.inductiveautomation.com/t/tagchangelistener-not-getting-the-tagchanged-event-in-ignition-8/34095)

<div class="topic-metadata">

**Author:** [@fady.machaalani](https://forum.inductiveautomation.com/u/fady.machaalani)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 7:08pm UTC](https://forum.inductiveautomation.com/t/tagchangelistener-not-getting-the-tagchanged-event-in-ignition-8/34095 "2020-04-23T19:08:37Z")

</div>

In Ignition 7 I was able to get the tagChanged(TagChangeEvent tagChangeEvent) by implementing the TagChangeListener class. This is my code for Ignition 8 where I am trying to do the same thing. My Implementation: publ…

---

## [\[FEATURE\] MODL file name VS Module name](https://forum.inductiveautomation.com/t/feature-modl-file-name-vs-module-name/34166)

<div class="topic-metadata">

**Author:** [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 5:02pm UTC](https://forum.inductiveautomation.com/t/feature-modl-file-name-vs-module-name/34166 "2020-04-23T17:02:10Z")

</div>

Dear all, For the deployment of a custom module, I would like to have different names for the modl file and for the name attribute of the module (showed in the gateway config web page). For example: modl file: KPI-2.…

---

## [\[Error\] Module Manager Error on script environment initialization](https://forum.inductiveautomation.com/t/error-module-manager-error-on-script-environment-initialization/34119)

<div class="topic-metadata">

**Author:** [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 3:16pm UTC](https://forum.inductiveautomation.com/t/error-module-manager-error-on-script-environment-initialization/34119 "2020-04-22T15:16:28Z")

</div>

Dear all, I have developed some custom modules and loaded them in a 8.0.7 gateway instance. Every time the gateway service restarts, I get the following Module Manager Error in the gateway logs: Module xyz failed to i…

---

## [Build Number b0](https://forum.inductiveautomation.com/t/build-number-b0/33917)

<div class="topic-metadata">

**Author:** [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 2:21pm UTC](https://forum.inductiveautomation.com/t/build-number-b0/33917 "2020-04-22T14:21:48Z")

</div>

Dears, I am deploying a new module developed with the SDK. I need to set the proper build number, based on the build timestamp. Following the tips of your user guides and the forum, I always get “b0” after compiling i…

---

## [Perspective - Creating a color property](https://forum.inductiveautomation.com/t/perspective-creating-a-color-property/33861)

<div class="topic-metadata">

**Author:** [@dillonu](https://forum.inductiveautomation.com/u/dillonu)\
**Replies:** 3\
**Last updated:** [April 13, 2020, 1:26pm UTC](https://forum.inductiveautomation.com/t/perspective-creating-a-color-property/33861 "2020-04-13T13:26:43Z")

</div>

Hi, We’re trying to add various validation rules to our component’s schema. How can we enforce a color as input to a specific property like how it is done on the LED Display component and get the nice color selector pop…

---

## [How to write the value of Opc Ua Node](https://forum.inductiveautomation.com/t/how-to-write-the-value-of-opc-ua-node/33863)

<div class="topic-metadata">

**Author:** [@78503656](https://forum.inductiveautomation.com/u/78503656)\
**Replies:** 4\
**Last updated:** [April 12, 2020, 1:24pm UTC](https://forum.inductiveautomation.com/t/how-to-write-the-value-of-opc-ua-node/33863 "2020-04-12T13:24:39Z")

</div>

I’m looking the OPC UA Device example.The example show how to add Opc Ua Node. But I have 2 question: 1.how to update the value of Opc Ua Node, is ManagedAddressSpaceServices.write(WriteContext context,List writeValu…

---

## [Perspective - Creating a custom event on component](https://forum.inductiveautomation.com/t/perspective-creating-a-custom-event-on-component/33700)

<div class="topic-metadata">

**Author:** [@dillonu](https://forum.inductiveautomation.com/u/dillonu)\
**Replies:** 5\
**Last updated:** [April 6, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/perspective-creating-a-custom-event-on-component/33700 "2020-04-06T15:13:21Z")

</div>

Is there an example of how to create a custom event on a custom perspective component? I’ve been trying to follow another thread on how to do this: http://forum.inductiveautomation.com/t/creating-a-component-event/3040…

---

## [Creating a component event](https://forum.inductiveautomation.com/t/creating-a-component-event/30403)

<div class="topic-metadata">

**Author:** [@RadicalRumin](https://forum.inductiveautomation.com/u/RadicalRumin)\
**Replies:** 15\
**Last updated:** [April 6, 2020, 3:11pm UTC](https://forum.inductiveautomation.com/t/creating-a-component-event/30403 "2020-04-06T15:11:10Z")

</div>

I’ve been working on creating a calender component for perspective using FullCalender. I was wondering how I could add component events, like the table has for example.

---

## [Importing tsx module in perspective modules](https://forum.inductiveautomation.com/t/importing-tsx-module-in-perspective-modules/33660)

<div class="topic-metadata">

**Author:** [@bas.dejong](https://forum.inductiveautomation.com/u/bas.dejong)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 6:41am UTC](https://forum.inductiveautomation.com/t/importing-tsx-module-in-perspective-modules/33660 "2020-04-06T06:41:26Z")

</div>

We’re trying to build a perspective module that consists of multiple react components. I’m able to import the main .tsx module file. However, any other .tsx file that I try to import from there can’t be found by the grad…

---

## [Module sdk - run internal query - convert result to a dataset](https://forum.inductiveautomation.com/t/module-sdk-run-internal-query-convert-result-to-a-dataset/33606)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 9:58pm UTC](https://forum.inductiveautomation.com/t/module-sdk-run-internal-query-convert-result-to-a-dataset/33606 "2020-04-03T21:58:43Z")

</div>

In a module (gateway scope) I try to query the ignition internal database with: GatewayContext context; ... PersistenceSession DBSession = context.getPersistenceInterface().getSession(); List\<List\<Object\>\> data = null; …

---

## [How to use SFPrepUpdate](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644)

<div class="topic-metadata">

**Author:** [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Replies:** 4\
**Last updated:** [April 2, 2020, 9:13pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644 "2020-04-02T21:13:24Z")

</div>

How do I make use of the runSFPrepUpdate functions? I am using 8.0.8 SDK. com.inductiveautomation.factorypmi.application.script.builtin.ialabs.IALabsDatasourceFunctions doesn’t seem to be available.

---

## [Is there a way withthe SDK to obtain the gateway data directory path?](https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 3\
**Last updated:** [April 1, 2020, 3:25pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584 "2020-04-01T15:25:00Z")

</div>

Is there a way with the SDK to obtain the gateway data directory path ?

---

## [Extend already existing Designer Resource Popup](https://forum.inductiveautomation.com/t/extend-already-existing-designer-resource-popup/33527)

<div class="topic-metadata">

**Author:** [@thijs1](https://forum.inductiveautomation.com/u/thijs1)\
**Replies:** 3\
**Last updated:** [March 31, 2020, 6:06pm UTC](https://forum.inductiveautomation.com/t/extend-already-existing-designer-resource-popup/33527 "2020-03-31T18:06:49Z")

</div>

Hi, I already managed to create a popupmenu on a resource tree in a new Workspace with a new RootFolder. Now I’m wondering how I can extend an existing popup? I can’t figure out how to inject a new Action in the initPo…

---

## [Build-in class to serialize a dataset to XML?](https://forum.inductiveautomation.com/t/build-in-class-to-serialize-a-dataset-to-xml/33426)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 7\
**Last updated:** [March 26, 2020, 1:21pm UTC](https://forum.inductiveautomation.com/t/build-in-class-to-serialize-a-dataset-to-xml/33426 "2020-03-26T13:21:29Z")

</div>

I’m looking for a class in SDK to serialize a dataset to XML in order to create the Dataset part of this file: \<Tags\> \<Tag name="test" path="" type="Client"\> \<Property name="Value"\> \<Dataset\> …

---

## [Getting the value of the History Provider](https://forum.inductiveautomation.com/t/getting-the-value-of-the-history-provider/33380)

<div class="topic-metadata">

**Author:** [@fady.machaalani](https://forum.inductiveautomation.com/u/fady.machaalani)\
**Replies:** 4\
**Last updated:** [March 24, 2020, 11:18pm UTC](https://forum.inductiveautomation.com/t/getting-the-value-of-the-history-provider/33380 "2020-03-24T23:18:15Z")

</div>

In Ignition 7 Java code I was able to do the following to get the name of the History Provider when it was enabled. String historyProviderName = tag.getAttribute(TagProp.PrimaryHistoryProvider).getValue().toString().toL…

---

## [Does the Perspective App support WebGL?](https://forum.inductiveautomation.com/t/does-the-perspective-app-support-webgl/33118)

<div class="topic-metadata">

**Author:** [@bas.dejong](https://forum.inductiveautomation.com/u/bas.dejong)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 4:37pm UTC](https://forum.inductiveautomation.com/t/does-the-perspective-app-support-webgl/33118 "2020-03-16T16:37:27Z")

</div>

I would like to know if the perspective app supports WebGL. I’m researching possibilities for the creation of a perspective map component. I need users to be able to draw selectable polygons on a map. I was thinking to …

---

## [Scripting in Ignition Edge](https://forum.inductiveautomation.com/t/scripting-in-ignition-edge/32820)

<div class="topic-metadata">

**Author:** [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Replies:** 6\
**Last updated:** [March 6, 2020, 3:47pm UTC](https://forum.inductiveautomation.com/t/scripting-in-ignition-edge/32820 "2020-03-06T15:47:06Z")

</div>

Are gateway and client scripting functions available in the Ignition Edge servers?

---

## [Include and "installation" .msi in custom module](https://forum.inductiveautomation.com/t/include-and-installation-msi-in-custom-module/32660)

<div class="topic-metadata">

**Author:** [@denis.palomanes](https://forum.inductiveautomation.com/u/denis.palomanes)\
**Replies:** 1\
**Last updated:** [February 27, 2020, 2:20pm UTC](https://forum.inductiveautomation.com/t/include-and-installation-msi-in-custom-module/32660 "2020-02-27T14:20:00Z")

</div>

Hello, We have created a component module that use a free library. We have the .jar files include in the module. When we open the project from another PC, the project throws an error because it cannot find some .dll but…

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

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