# Module Development

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

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

**Page:** 46

---

## [How to cast com.inductiveautomation.opcua.types.DataValue?](https://forum.inductiveautomation.com/t/how-to-cast-com-inductiveautomation-opcua-types-datavalue/18838)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 3:05pm UTC](https://forum.inductiveautomation.com/t/how-to-cast-com-inductiveautomation-opcua-types-datavalue/18838 "2018-07-16T15:05:10Z")

</div>

I would like to convert some value from com.inductiveautomation.opcua.types.DataValue type to Java class. When I try to cast the value, the following exception is triggered : java.lang.ClassCastException: com.induc…

---

## [Embed report into module](https://forum.inductiveautomation.com/t/embed-report-into-module/18837)

<div class="topic-metadata">

**Author:** [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Replies:** 0\
**Last updated:** [July 16, 2018, 2:57pm UTC](https://forum.inductiveautomation.com/t/embed-report-into-module/18837 "2018-07-16T14:57:29Z")

</div>

I'm wondering if what I am considering is possible. I would like to store a report built in the ignition designer as an XML java resource in my module or perhaps in the internal database as an XML string. I would like…

---

## [Authenticate user in module](https://forum.inductiveautomation.com/t/authenticate-user-in-module/18791)

<div class="topic-metadata">

**Author:** [@stoycho.atanasov.3xs](https://forum.inductiveautomation.com/u/stoycho.atanasov.3xs)\
**Replies:** 4\
**Last updated:** [July 16, 2018, 2:27pm UTC](https://forum.inductiveautomation.com/t/authenticate-user-in-module/18791 "2018-07-16T14:27:09Z")

</div>

Hello everybody, I'm trying to authenticate a user through my module. In Python i use system.security.validateUser(user,password,userSource) I need to find the same functionality in Java. Thank you.

---

## [Named queries for module developers](https://forum.inductiveautomation.com/t/named-queries-for-module-developers/14524)

<div class="topic-metadata">

**Author:** [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Replies:** 27\
**Last updated:** [July 16, 2018, 1:52pm UTC](https://forum.inductiveautomation.com/t/named-queries-for-module-developers/14524 "2018-07-16T13:52:31Z")

</div>

The 7.9.4 beta 1 is up as of today. The focus of this release is security, and one of the new features that can affect module developers is named queries. Named queries are a way to define database queries in advance, …

---

## [Debugging in IntelliJ](https://forum.inductiveautomation.com/t/debugging-in-intellij/18624)

<div class="topic-metadata">

**Author:** [@stoycho.atanasov.3xs](https://forum.inductiveautomation.com/u/stoycho.atanasov.3xs)\
**Replies:** 2\
**Last updated:** [July 11, 2018, 12:54pm UTC](https://forum.inductiveautomation.com/t/debugging-in-intellij/18624 "2018-07-11T12:54:25Z")

</div>

Hi everyone, I'm starting to develop a module for Ignition. Well the problem is that i need to debug my code and I follow the instructions from here https://docs.inductiveautomation.com/display/SE/Debugging+in+IntelliJ i…

---

## [How to programmatically create a new FPMI window in designer and save it?](https://forum.inductiveautomation.com/t/how-to-programmatically-create-a-new-fpmi-window-in-designer-and-save-it/18767)

<div class="topic-metadata">

**Author:** [@mukta\_kothiwan](https://forum.inductiveautomation.com/u/mukta_kothiwan)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 2:42pm UTC](https://forum.inductiveautomation.com/t/how-to-programmatically-create-a-new-fpmi-window-in-designer-and-save-it/18767 "2018-07-09T14:42:51Z")

</div>

Hello, In my module, I am trying to create a new window in an existing project and adding some components in it after which I want to save the window. Please see the code below, I am using the commitDesignable method of…

---

## [MissingResourceException, Unable to find Property](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742)

<div class="topic-metadata">

**Author:** [@Adam.Martin](https://forum.inductiveautomation.com/u/Adam.Martin)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 12:26pm UTC](https://forum.inductiveautomation.com/t/missingresourceexception-unable-to-find-property/18742 "2018-07-09T12:26:31Z")

</div>

Hello, I am having trouble implementing my .properties file. I have thus far successfully been able to add the bundle to my GatewayHook, and the gateway shows my config panel on the side bar. However, when I click…

---

## [How will module development change with Ignition 8?](https://forum.inductiveautomation.com/t/how-will-module-development-change-with-ignition-8/18688)

<div class="topic-metadata">

**Author:** [@Mau89](https://forum.inductiveautomation.com/u/Mau89)\
**Replies:** 14\
**Last updated:** [July 3, 2018, 3:14pm UTC](https://forum.inductiveautomation.com/t/how-will-module-development-change-with-ignition-8/18688 "2018-07-03T15:14:50Z")

</div>

Hi everyone, next September we should view the new version of Ignition. How this will change the developing of module? Modules developed with old SDK will compatible with new version? Special way graphics componets f…

---

## [The methods resize Component, reshape Component and move Component of Window Utilities are deprecated](https://forum.inductiveautomation.com/t/the-methods-resize-component-reshape-component-and-move-component-of-window-utilities-are-deprecated/18687)

<div class="topic-metadata">

**Author:** [@mukta\_kothiwan](https://forum.inductiveautomation.com/u/mukta_kothiwan)\
**Replies:** 3\
**Last updated:** [July 3, 2018, 12:27pm UTC](https://forum.inductiveautomation.com/t/the-methods-resize-component-reshape-component-and-move-component-of-window-utilities-are-deprecated/18687 "2018-07-03T12:27:22Z")

</div>

I am using ignition SDK version 7.9.5-snapshot and the mentioned methods are deprecated. Can anyone please suggest an alternative to set width and height of PMI components at run time.

---

## [Develop driver protocol DGT](https://forum.inductiveautomation.com/t/develop-driver-protocol-dgt/18675)

<div class="topic-metadata">

**Author:** [@gabrielmatau](https://forum.inductiveautomation.com/u/gabrielmatau)\
**Replies:** 0\
**Last updated:** [June 29, 2018, 9:00pm UTC](https://forum.inductiveautomation.com/t/develop-driver-protocol-dgt/18675 "2018-06-29T21:00:25Z")

</div>

Hi! everybody, i have assign for connect to scada ignition PMV ITS in DGT protocol, i need idea to begin de solution. it is possible whit example. Resgards!!!.

---

## [Errors launching Designer in IntelliJ](https://forum.inductiveautomation.com/t/errors-launching-designer-in-intellij/14099)

<div class="topic-metadata">

**Author:** [@mpderbec](https://forum.inductiveautomation.com/u/mpderbec)\
**Replies:** 7\
**Last updated:** [June 26, 2018, 2:49pm UTC](https://forum.inductiveautomation.com/t/errors-launching-designer-in-intellij/14099 "2018-06-26T14:49:19Z")

</div>

Hello, I’m following the instructions at https://docs.inductiveautomation.com:8443/display/SE/Debugging+in+IntelliJ to try to launch the Designer in the debugger. I receive the following errors after supplying a username…

---

## [Production Simulator Installer](https://forum.inductiveautomation.com/t/production-simulator-installer/18242)

<div class="topic-metadata">

**Author:** [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Replies:** 2\
**Last updated:** [June 8, 2018, 3:46pm UTC](https://forum.inductiveautomation.com/t/production-simulator-installer/18242 "2018-06-08T15:46:51Z")

</div>

Hi, I need to download the Productionsimulator-Installer.modl. I'm following a file on where to find it but it doesn't seem to be on the downloads page. Does anyone know where it is or a link to download it?

---

## [NoCalssDefFoundError PersistentRecord](https://forum.inductiveautomation.com/t/nocalssdeffounderror-persistentrecord/18329)

<div class="topic-metadata">

**Author:** [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Replies:** 8\
**Last updated:** [June 7, 2018, 4:43pm UTC](https://forum.inductiveautomation.com/t/nocalssdeffounderror-persistentrecord/18329 "2018-06-07T16:43:51Z")

</div>

I am trying to create an RPC in my module that allows CRUD of persistent records in a client component. I have a simple PersistentRecord class KeyValueRecord. package com.mymodule.common; import com.inductiveautom…

---

## [Need Help for Setting icon in cell of particular column of PMITable through sdk](https://forum.inductiveautomation.com/t/need-help-for-setting-icon-in-cell-of-particular-column-of-pmitable-through-sdk/18318)

<div class="topic-metadata">

**Author:** [@surtirah](https://forum.inductiveautomation.com/u/surtirah)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 12:22pm UTC](https://forum.inductiveautomation.com/t/need-help-for-setting-icon-in-cell-of-particular-column-of-pmitable-through-sdk/18318 "2018-06-06T12:22:06Z")

</div>

I am trying to add icons to all the cells of the particular column of PMITable which is in Ignition SDK module. I am using PMITable. Please help me solve this problem

---

## [Migrating from 7.7 to 7.9](https://forum.inductiveautomation.com/t/migrating-from-7-7-to-7-9/18331)

<div class="topic-metadata">

**Author:** [@BillS](https://forum.inductiveautomation.com/u/BillS)\
**Replies:** 6\
**Last updated:** [June 7, 2018, 1:01am UTC](https://forum.inductiveautomation.com/t/migrating-from-7-7-to-7-9/18331 "2018-06-07T01:01:48Z")

</div>

Is there a list of things necessary to switch from a 7.7 driver module to a 7.9. I recently attempted to install a custom driver I built on 7.9.4 and it doesn't start giving errors that seem to indicate I have some wor…

---

## [How to get the project default datasource inside module](https://forum.inductiveautomation.com/t/how-to-get-the-project-default-datasource-inside-module/18086)

<div class="topic-metadata">

**Author:** [@rkumar](https://forum.inductiveautomation.com/u/rkumar)\
**Replies:** 10\
**Last updated:** [June 4, 2018, 5:03pm UTC](https://forum.inductiveautomation.com/t/how-to-get-the-project-default-datasource-inside-module/18086 "2018-06-04T17:03:57Z")

</div>

I am trying to get the default datasource of the project from inside the module to create SRConnection to the right database dynamically. Please suggest the right approach thanks.

---

## [Scripting Module, call mycompany.method instead of system.mycompany.method](https://forum.inductiveautomation.com/t/scripting-module-call-mycompany-method-instead-of-system-mycompany-method/15836)

<div class="topic-metadata">

**Author:** [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Replies:** 16\
**Last updated:** [June 1, 2018, 9:00am UTC](https://forum.inductiveautomation.com/t/scripting-module-call-mycompany-method-instead-of-system-mycompany-method/15836 "2018-06-01T09:00:35Z")

</div>

I would like to add scripting functions to my projects and call my methods by typing mycompany.library.doSomething() instead of system.mycompany.library.doSomething(). I've searched the forums, and read the Adding Scri…

---

## [Singleton Missing After Client Logout](https://forum.inductiveautomation.com/t/singleton-missing-after-client-logout/18083)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 6\
**Last updated:** [May 17, 2018, 9:48pm UTC](https://forum.inductiveautomation.com/t/singleton-missing-after-client-logout/18083 "2018-05-17T21:48:01Z")

</div>

I'm having trouble with a module losing a singleton that I've created when a client logs out. Client Hook Example: public class ClientHook extends AbstractClientModuleHook { @Override public void startup…

---

## [IntelliJ and OpenJDK 9 : Failed to deploying to http://localhost:8088](https://forum.inductiveautomation.com/t/intellij-and-openjdk-9-failed-to-deploying-to-http-localhost-8088/17985)

<div class="topic-metadata">

**Author:** [@austral](https://forum.inductiveautomation.com/u/austral)\
**Replies:** 4\
**Last updated:** [May 10, 2018, 8:16pm UTC](https://forum.inductiveautomation.com/t/intellij-and-openjdk-9-failed-to-deploying-to-http-localhost-8088/17985 "2018-05-10T20:16:15Z")

</div>

After reading "The Real Deal About Java and the future of Ignition" I swap my javaJDK from Oracle JDK 8 to OpenJDK 9. Ignition Gateway doesn't start with this option : wrapper.java.additional.8=-Xrunjdwp:transport=…

---

## [Unable to run Module classes under gateway event scripts](https://forum.inductiveautomation.com/t/unable-to-run-module-classes-under-gateway-event-scripts/17850)

<div class="topic-metadata">

**Author:** [@patrick.garceau](https://forum.inductiveautomation.com/u/patrick.garceau)\
**Replies:** 10\
**Last updated:** [April 27, 2018, 5:25pm UTC](https://forum.inductiveautomation.com/t/unable-to-run-module-classes-under-gateway-event-scripts/17850 "2018-04-27T17:25:20Z")

</div>

How come I am able to run scripts under Tools/Scrip Console but I cannot run the same script under the Gateway Event Scripts It starts with an import and I have put a system.write.tags after the import to see if it wro…

---

## [Abstract Tag Driver - how to known a device is disabled?](https://forum.inductiveautomation.com/t/abstract-tag-driver-how-to-known-a-device-is-disabled/17816)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 6\
**Last updated:** [April 24, 2018, 5:27pm UTC](https://forum.inductiveautomation.com/t/abstract-tag-driver-how-to-known-a-device-is-disabled/17816 "2018-04-24T17:27:03Z")

</div>

Hi, I try to stop some task inside an abstract Tag driver when the device is disabled. But I don't find how to obtainthis information with the driver context ?

---

## [NullPointerException when calling VisionClientInterface.getGuiUtil](https://forum.inductiveautomation.com/t/nullpointerexception-when-calling-visionclientinterface-getguiutil/17698)

<div class="topic-metadata">

**Author:** [@Yogini\_Marathe](https://forum.inductiveautomation.com/u/Yogini_Marathe)\
**Replies:** 2\
**Last updated:** [April 14, 2018, 6:53am UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-calling-visionclientinterface-getguiutil/17698 "2018-04-14T06:53:34Z")

</div>

Hi, I have below code in my module's client hook: public void startup(ClientContext context, LicenseState activationState) throws Exception { super.startup(context, activationState); VisionClientInterface vision …

---

## [NoClassDefError coming from an External JAR](https://forum.inductiveautomation.com/t/noclassdeferror-coming-from-an-external-jar/17683)

<div class="topic-metadata">

**Author:** [@gcarlson](https://forum.inductiveautomation.com/u/gcarlson)\
**Replies:** 10\
**Last updated:** [April 13, 2018, 1:22pm UTC](https://forum.inductiveautomation.com/t/noclassdeferror-coming-from-an-external-jar/17683 "2018-04-13T13:22:59Z")

</div>

Morning all. If I have put this question in the wrong section of the forum. I am running an external JAR file as a library for RFID tag readers with Ignition. I have had two systems running this JAR file, with an ident…

---

## [Is there a way to read tags inside a component?](https://forum.inductiveautomation.com/t/is-there-a-way-to-read-tags-inside-a-component/10392)

<div class="topic-metadata">

**Author:** [@tmv090020](https://forum.inductiveautomation.com/u/tmv090020)\
**Replies:** 11\
**Last updated:** [April 9, 2018, 8:28pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-read-tags-inside-a-component/10392 "2018-04-09T20:28:08Z")

</div>

I am looking for a way to read a tag's value form inside a AbstractVisionPanel. I have tried using "getAppContext().getTagManager().getTag()" but I am not sure if this is the right way :question: . If it is, could you …

---

## [Ignition no tag value changed event](https://forum.inductiveautomation.com/t/ignition-no-tag-value-changed-event/17567)

<div class="topic-metadata">

**Author:** [@david.fan](https://forum.inductiveautomation.com/u/david.fan)\
**Replies:** 0\
**Last updated:** [March 31, 2018, 11:34pm UTC](https://forum.inductiveautomation.com/t/ignition-no-tag-value-changed-event/17567 "2018-03-31T23:34:26Z")

</div>

Hi , I wrote code to change some tag values periodically via ignition SDK API, I also put value changed event to insert record to database. But strangely, sometimes, it runs perfect. occasionally, value changed events …

---

## [How to get a reference to an FPMIWindow given a window path?](https://forum.inductiveautomation.com/t/how-to-get-a-reference-to-an-fpmiwindow-given-a-window-path/17453)

<div class="topic-metadata">

**Author:** [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 10:04pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-reference-to-an-fpmiwindow-given-a-window-path/17453 "2018-03-21T22:04:14Z")

</div>

I'm new to module development and I'm trying to do a couple of things that I've done comfortably within the Python scripting environment, however in the new-to-me java environment I'm not sure how to do. What I'd like to…

---

## [Unable to see tag history in database](https://forum.inductiveautomation.com/t/unable-to-see-tag-history-in-database/17405)

<div class="topic-metadata">

**Author:** [@zhailujun123](https://forum.inductiveautomation.com/u/zhailujun123)\
**Replies:** 1\
**Last updated:** [March 18, 2018, 11:57pm UTC](https://forum.inductiveautomation.com/t/unable-to-see-tag-history-in-database/17405 "2018-03-18T23:57:33Z")

</div>

there is a problem with Tag historian. When I create a tag, for example memory Tag A , and then configure the tag history parameter, and store the Tag history in DB , the rest of parameters keep default. (DB has been …

---

## [Ignition 7.9.6 and ctypes -- missing windll](https://forum.inductiveautomation.com/t/ignition-7-9-6-and-ctypes-missing-windll/17356)

<div class="topic-metadata">

**Author:** [@Norman.Davie](https://forum.inductiveautomation.com/u/Norman.Davie)\
**Replies:** 2\
**Last updated:** [March 14, 2018, 2:39am UTC](https://forum.inductiveautomation.com/t/ignition-7-9-6-and-ctypes-missing-windll/17356 "2018-03-14T02:39:16Z")

</div>

I'm trying to load a dynamic linked library that has a few standard c (cdecl) library calls -- a few calls but LOTS of code behind them. Jython v2.5.2 apparently supports this, but I cannot get ignition to load a dynam…

---

## [SimpleTagProvider and DataSet variables](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296)

<div class="topic-metadata">

**Author:** [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Replies:** 4\
**Last updated:** [March 12, 2018, 2:03pm UTC](https://forum.inductiveautomation.com/t/simpletagprovider-and-dataset-variables/17296 "2018-03-12T14:03:42Z")

</div>

Hello everyone, following the simple-tag-provider example, I’m trying to develop a module of my own. In my module I need a Dataset variable, which must be editable by the user. I manage to create the tag variable in my …

---

## [How to active third party module with version above 1.x.x](https://forum.inductiveautomation.com/t/how-to-active-third-party-module-with-version-above-1-x-x/17312)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 0\
**Last updated:** [March 10, 2018, 6:20pm UTC](https://forum.inductiveautomation.com/t/how-to-active-third-party-module-with-version-above-1-x-x/17312 "2018-03-10T18:20:00Z")

</div>

with the module showcase .proj we can active license key for our module. It’s perfect ! But when the module has a version \> 1.x.x, 2.0.0 for example, the module is not actived. Where can we set the module version limit…

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

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