# Module Development

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

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

**Page:** 21

---

## [Module faulted status, how to check from inside](https://forum.inductiveautomation.com/t/module-faulted-status-how-to-check-from-inside/81257)

<div class="topic-metadata">

**Author:** [@tom.prodehl](https://forum.inductiveautomation.com/u/tom.prodehl)\
**Replies:** 1\
**Last updated:** [October 31, 2023, 6:32pm UTC](https://forum.inductiveautomation.com/t/module-faulted-status-how-to-check-from-inside/81257 "2023-10-31T18:32:39Z")

</div>

I created a module. the automation engineer wants a way to detect if my module is faulted from within his HMI stuff, not checking the Module Status page. Is there a way to detect module status or to raise an alarm when…

---

## [Scripting Functions Using ScriptManager - Printing/Logging](https://forum.inductiveautomation.com/t/scripting-functions-using-scriptmanager-printing-logging/80980)

<div class="topic-metadata">

**Author:** [@Jason\_Zhou](https://forum.inductiveautomation.com/u/Jason_Zhou)\
**Replies:** 8\
**Last updated:** [October 27, 2023, 8:05pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-using-scriptmanager-printing-logging/80980 "2023-10-27T20:05:56Z")

</div>

I'm writing some scripting functions using the ScriptManager class. I'm using it to create a ScriptFunction class, based on a string of Python code. From what I can tell, it appears to work, but for whatever reason, …

---

## [Fire Component Event](https://forum.inductiveautomation.com/t/fire-component-event/80937)

<div class="topic-metadata">

**Author:** [@bill.liu](https://forum.inductiveautomation.com/u/bill.liu)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 12:42am UTC](https://forum.inductiveautomation.com/t/fire-component-event/80937 "2023-10-26T00:42:05Z")

</div>

How to trigger the "onMessageEvent" from the example Messenger component? I have tried this.component.fireEvent("model", "onMessageEvent", event); in MessageComponentModelDelegate.java but it doesn't work. link to code …

---

## [Custom Props view](https://forum.inductiveautomation.com/t/custom-props-view/80954)

<div class="topic-metadata">

**Author:** [@Ahmed\_mohamed](https://forum.inductiveautomation.com/u/Ahmed_mohamed)\
**Replies:** 4\
**Last updated:** [October 25, 2023, 6:52pm UTC](https://forum.inductiveautomation.com/t/custom-props-view/80954 "2023-10-25T18:52:36Z")

</div>

Hi everyone, how can I do my custom view like this in my component (i don't need this format but I need to custom my own view) is it possible !?

---

## [Sockets](https://forum.inductiveautomation.com/t/sockets/9239)

<div class="topic-metadata">

**Author:** [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Replies:** 19\
**Last updated:** [October 18, 2023, 3:17am UTC](https://forum.inductiveautomation.com/t/sockets/9239 "2023-10-18T03:17:36Z")

</div>

Hi, Are there any restrictions of using TCP/IP sockets in Ignition modules (Irrespective of Ignition version 7.6 or 7.7 or which ever web server) ? If yes then what are they? Best Regards PRAMANJ

---

## [Removing Good\_Provisional Tag History Data](https://forum.inductiveautomation.com/t/removing-good-provisional-tag-history-data/80620)

<div class="topic-metadata">

**Author:** [@Kraenbring](https://forum.inductiveautomation.com/u/Kraenbring)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 8:46pm UTC](https://forum.inductiveautomation.com/t/removing-good-provisional-tag-history-data/80620 "2023-10-17T20:46:46Z")

</div>

Using 8.1.16, from both gateway and client scoped code, the tag history query is returning a single row at the end of the dataset with a quality value of 200 and a tag value that doesn't make sense which never makes it t…

---

## [Modify Existing Perspective Components](https://forum.inductiveautomation.com/t/modify-existing-perspective-components/80529)

<div class="topic-metadata">

**Author:** [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 12:31am UTC](https://forum.inductiveautomation.com/t/modify-existing-perspective-components/80529 "2023-10-17T00:31:13Z")

</div>

Hi all, I am attempting to get into module development in order to get a specific functionality out of one of the pre-existing components. I have found and studied the examples for adding a perspective component, but I …

---

## [Module Signing Using Certificate From Certificate Authority](https://forum.inductiveautomation.com/t/module-signing-using-certificate-from-certificate-authority/80366)

<div class="topic-metadata">

**Author:** [@David\_Karlavage](https://forum.inductiveautomation.com/u/David_Karlavage)\
**Replies:** 5\
**Last updated:** [October 11, 2023, 10:28pm UTC](https://forum.inductiveautomation.com/t/module-signing-using-certificate-from-certificate-authority/80366 "2023-10-11T22:28:48Z")

</div>

Has anyone successfully used a certificate from a CA to sign a module? I have acquired a Certificate from Digicert ONE and attempting to use DigiCert Keylocker to get the private key. I am using openssl and jarsigner to…

---

## [Perspective Component Hot-Reload](https://forum.inductiveautomation.com/t/perspective-component-hot-reload/80098)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 2\
**Last updated:** [October 5, 2023, 6:23pm UTC](https://forum.inductiveautomation.com/t/perspective-component-hot-reload/80098 "2023-10-05T18:23:53Z")

</div>

Is there any way I can hot-reload perspective components so that I don't have to fully re-compile my module every change while testing/debugging? At the moment I'm building something as a standalone react component and …

---

## [\[Module Development\] How do I subscribe to tag change events in the Gateway?](https://forum.inductiveautomation.com/t/module-development-how-do-i-subscribe-to-tag-change-events-in-the-gateway/79948)

<div class="topic-metadata">

**Author:** [@Tyler\_McLean](https://forum.inductiveautomation.com/u/Tyler_McLean)\
**Replies:** 2\
**Last updated:** [October 2, 2023, 8:06pm UTC](https://forum.inductiveautomation.com/t/module-development-how-do-i-subscribe-to-tag-change-events-in-the-gateway/79948 "2023-10-02T20:06:36Z")

</div>

I am trying to create a module for Ignition to expose tag changes over a websocket to a custom-built client but none of the resources are up to date/exhaustive enough for 8.1. Setting up the servlet was enough of a stru…

---

## [getLicense method](https://forum.inductiveautomation.com/t/getlicense-method/78852)

<div class="topic-metadata">

**Author:** [@johnny.alvarado](https://forum.inductiveautomation.com/u/johnny.alvarado)\
**Replies:** 11\
**Last updated:** [October 2, 2023, 2:48pm UTC](https://forum.inductiveautomation.com/t/getlicense-method/78852 "2023-10-02T14:48:24Z")

</div>

Hello, A few years ago, we developed a module for Ignition 7.9. We are now trying to make it compatible with Ignition 8.1. However, when we upgrade the application and attempt to use the module, we encounter an error: "…

---

## [About modules development](https://forum.inductiveautomation.com/t/about-modules-development/79837)

<div class="topic-metadata">

**Author:** [@jardel](https://forum.inductiveautomation.com/u/jardel)\
**Replies:** 2\
**Last updated:** [September 29, 2023, 8:05pm UTC](https://forum.inductiveautomation.com/t/about-modules-development/79837 "2023-09-29T20:05:45Z")

</div>

Good morning everybody. First, introducing myself. I am not a developer by profession, I have good knowledge of Python, GO, Javascript and bash/shell, due to my role as a Cybersecurity Analyst. But I'm excited about th…

---

## ["EmbeddedView" component](https://forum.inductiveautomation.com/t/embeddedview-component/79838)

<div class="topic-metadata">

**Author:** [@Ahmed\_mohamed](https://forum.inductiveautomation.com/u/Ahmed_mohamed)\
**Replies:** 1\
**Last updated:** [September 29, 2023, 3:23pm UTC](https://forum.inductiveautomation.com/t/embeddedview-component/79838 "2023-09-29T15:23:15Z")

</div>

I'm wondering if what I am considering is possible. I need to use the "embedded view component" of ignition in my custom component how can I do that?

---

## [No AlarmNotificationProfileType 'SlackType' found](https://forum.inductiveautomation.com/t/no-alarmnotificationprofiletype-slacktype-found/79487)

<div class="topic-metadata">

**Author:** [@glennr](https://forum.inductiveautomation.com/u/glennr)\
**Replies:** 5\
**Last updated:** [September 28, 2023, 8:44pm UTC](https://forum.inductiveautomation.com/t/no-alarmnotificationprofiletype-slacktype-found/79487 "2023-09-28T20:44:12Z")

</div>

Hi, I'm trying to make an alarm notification module that uses a REST to SMS service. I've copied and modified the slack alarm notification example from github but neither are working. I'm seeing this in the log for the…

---

## [Add some Javascript code in a perspective module based on the pespective-component-minimal example](https://forum.inductiveautomation.com/t/add-some-javascript-code-in-a-perspective-module-based-on-the-pespective-component-minimal-example/79792)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 0\
**Last updated:** [September 28, 2023, 2:33pm UTC](https://forum.inductiveautomation.com/t/add-some-javascript-code-in-a-perspective-module-based-on-the-pespective-component-minimal-example/79792 "2023-09-28T14:33:16Z")

</div>

I would like to add some Javascript code in a perspective module based on the pespective-component-minimal example from @PerryAJ. \<script type="text/javascript" src="external-lib.js"\>\</script\> is there a way to achieve…

---

## [Generating a configurable HTTP post payload in a module](https://forum.inductiveautomation.com/t/generating-a-configurable-http-post-payload-in-a-module/79545)

<div class="topic-metadata">

**Author:** [@glennr](https://forum.inductiveautomation.com/u/glennr)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 2:19am UTC](https://forum.inductiveautomation.com/t/generating-a-configurable-http-post-payload-in-a-module/79545 "2023-09-27T02:19:51Z")

</div>

I'm working on a module, based on the slack-alarm-notification example, that sends alarm notifications to an SMS gateway via HTTP. Mainly as a learning exercise, but it will be useful for a project I'm involved in. For …

---

## [Loading tags after opc ua device restart](https://forum.inductiveautomation.com/t/loading-tags-after-opc-ua-device-restart/79492)

<div class="topic-metadata">

**Author:** [@Sebastian\_Fekete](https://forum.inductiveautomation.com/u/Sebastian_Fekete)\
**Replies:** 3\
**Last updated:** [September 25, 2023, 12:38pm UTC](https://forum.inductiveautomation.com/t/loading-tags-after-opc-ua-device-restart/79492 "2023-09-25T12:38:17Z")

</div>

I am developing a custom module based on the OPC UA device example. When a device is running, folders and tags are created. When the device gets disabled, all tags are set to bad quality. When i enable the device, i have…

---

## [ManagedTagProvider UDTs](https://forum.inductiveautomation.com/t/managedtagprovider-udts/77761)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/managedtagprovider-udts/77761 "2023-09-22T14:57:49Z")

</div>

I'm going to have a couple repeatable datatypes for a module I'm working on, and I would like to define them as UDTs so that users can override specific members to add history/alarms/tag event scripts. I've managed to ma…

---

## [Device disable/delete - set all Tags to Bad Quality](https://forum.inductiveautomation.com/t/device-disable-delete-set-all-tags-to-bad-quality/79376)

<div class="topic-metadata">

**Author:** [@Sebastian\_Fekete](https://forum.inductiveautomation.com/u/Sebastian_Fekete)\
**Replies:** 4\
**Last updated:** [September 20, 2023, 12:36pm UTC](https://forum.inductiveautomation.com/t/device-disable-delete-set-all-tags-to-bad-quality/79376 "2023-09-20T12:36:08Z")

</div>

I have a module thats based on the opc ua device example. My module creates tags and changes the quality of each tag while the device is running. When i disable or delete the device i want that all tags change Quality to…

---

## [OPC UA Device enable/disable bug](https://forum.inductiveautomation.com/t/opc-ua-device-enable-disable-bug/79341)

<div class="topic-metadata">

**Author:** [@Sebastian\_Fekete](https://forum.inductiveautomation.com/u/Sebastian_Fekete)\
**Replies:** 3\
**Last updated:** [September 20, 2023, 7:37am UTC](https://forum.inductiveautomation.com/t/opc-ua-device-enable-disable-bug/79341 "2023-09-20T07:37:33Z")

</div>

I have a custom module that is based on the opc ua device example. There is a strange behavior when i enable/disable the device when i once created it beforehand. It changes the Status to Disabled but not the Enabled boo…

---

## [Module Development - tag provider and tags handling](https://forum.inductiveautomation.com/t/module-development-tag-provider-and-tags-handling/79042)

<div class="topic-metadata">

**Author:** [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Replies:** 1\
**Last updated:** [September 12, 2023, 7:55pm UTC](https://forum.inductiveautomation.com/t/module-development-tag-provider-and-tags-handling/79042 "2023-09-12T19:55:09Z")

</div>

Hello Everyone, I have looked up and tried to follow Getting Started guide for Module Development. However, I believe I need a lot more learning to do what I am trying to achieve. Hoping I can get some directions from t…

---

## [Ignition-maven-plugin version 1.1 vs 1.2](https://forum.inductiveautomation.com/t/ignition-maven-plugin-version-1-1-vs-1-2/78879)

<div class="topic-metadata">

**Author:** [@james.vosler](https://forum.inductiveautomation.com/u/james.vosler)\
**Replies:** 5\
**Last updated:** [September 11, 2023, 2:11pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-version-1-1-vs-1-2/78879 "2023-09-11T14:11:47Z")

</div>

What are the features additions and/or bug fixes included in the ignition-maven-plugin version 1.2? When I change my module build plugin version to 1.2.0, the modl file ballons by half a Gb and the perspective module th…

---

## [Upcoming Java 17 Migration for Ignition 8.1](https://forum.inductiveautomation.com/t/upcoming-java-17-migration-for-ignition-8-1/76261)

<div class="topic-metadata">

**Author:** [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Replies:** 10\
**Last updated:** [September 8, 2023, 8:38pm UTC](https://forum.inductiveautomation.com/t/upcoming-java-17-migration-for-ignition-8-1/76261 "2023-09-08T20:38:55Z")

</div>

Hi Module Authors, We are planning a bump to Java 17 in our main 8.1.x version branch. While for most of you this will have zero impact (outside of some great new language features) it might impact some modules in very …

---

## [ClassNotFound Exception when Registering Reporting Component](https://forum.inductiveautomation.com/t/classnotfound-exception-when-registering-reporting-component/78826)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 4\
**Last updated:** [September 6, 2023, 6:27pm UTC](https://forum.inductiveautomation.com/t/classnotfound-exception-when-registering-reporting-component/78826 "2023-09-06T18:27:41Z")

</div>

I'm trying to register a new reporting component that I've built, and the GatewayHook class loader doesn't seem to be able to find the "AbstractJ2DShape" class. Do I need to force it to use a specific class loader? I'm …

---

## [Compile error: signModule FAILED](https://forum.inductiveautomation.com/t/compile-error-signmodule-failed/78781)

<div class="topic-metadata">

**Author:** [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Replies:** 1\
**Last updated:** [September 5, 2023, 7:25pm UTC](https://forum.inductiveautomation.com/t/compile-error-signmodule-failed/78781 "2023-09-05T19:25:26Z")

</div>

Hi This is my first time trying to compile the SDK examples for the Perspective Component which should be easy but I got stock. I do the following: Download and install Java SDK 11 Set JAVA path and JAVA\_HOME (Cmd ja…

---

## [Accessing Device Object from Module in OPC-UA Implementation](https://forum.inductiveautomation.com/t/accessing-device-object-from-module-in-opc-ua-implementation/78385)

<div class="topic-metadata">

**Author:** [@Dan\_Bergman](https://forum.inductiveautomation.com/u/Dan_Bergman)\
**Replies:** 4\
**Last updated:** [August 30, 2023, 2:25pm UTC](https://forum.inductiveautomation.com/t/accessing-device-object-from-module-in-opc-ua-implementation/78385 "2023-08-30T14:25:53Z")

</div>

Hello, I'm currently developing a module based on the opc-ua-device example. While I've managed to access my device settings file (which extends PersistentRecord) using the GatewayContext as shown below: PersistenceInt…

---

## [Ignition Config Page React](https://forum.inductiveautomation.com/t/ignition-config-page-react/78363)

<div class="topic-metadata">

**Author:** [@Preston\_Barnett](https://forum.inductiveautomation.com/u/Preston_Barnett)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 11:35pm UTC](https://forum.inductiveautomation.com/t/ignition-config-page-react/78363 "2023-08-24T23:35:46Z")

</div>

I know it's been brought up in the past, but I'm having trouble creating a config page that utilizes react. I followed the GitHub example for HomeConnect, but it only seems to work for status pages. I did a bit of diggin…

---

## [Exports all tags as json from GatewayContext](https://forum.inductiveautomation.com/t/exports-all-tags-as-json-from-gatewaycontext/78288)

<div class="topic-metadata">

**Author:** [@Jonathan\_Maranda](https://forum.inductiveautomation.com/u/Jonathan_Maranda)\
**Replies:** 2\
**Last updated:** [August 23, 2023, 9:57pm UTC](https://forum.inductiveautomation.com/t/exports-all-tags-as-json-from-gatewaycontext/78288 "2023-08-23T21:57:27Z")

</div>

Hi, I want to export all tags from all the providers as a json file from a gateway scope. The goal is to have the same file layout as the file generated by the "Export tags" button in the designer. Thanks So far, i hav…

---

## [Get userName from ClientContext or DesignerContext](https://forum.inductiveautomation.com/t/get-username-from-clientcontext-or-designercontext/78243)

<div class="topic-metadata">

**Author:** [@Jonathan\_Maranda](https://forum.inductiveautomation.com/u/Jonathan_Maranda)\
**Replies:** 2\
**Last updated:** [August 22, 2023, 4:43pm UTC](https://forum.inductiveautomation.com/t/get-username-from-clientcontext-or-designercontext/78243 "2023-08-22T16:43:29Z")

</div>

Hi all, how is it possible to get the current authenticated username from the ClientContext or DesignerContext? I only need the username. Thanks,

---

## [Communicating with external applications over TCP/IP socket /websockets using gateway scripts](https://forum.inductiveautomation.com/t/communicating-with-external-applications-over-tcp-ip-socket-websockets-using-gateway-scripts/20455)

<div class="topic-metadata">

**Author:** [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Replies:** 21\
**Last updated:** [August 20, 2023, 11:29am UTC](https://forum.inductiveautomation.com/t/communicating-with-external-applications-over-tcp-ip-socket-websockets-using-gateway-scripts/20455 "2023-08-20T11:29:54Z")

</div>

How can we communicate Ignition with external applications over TCP/IP sockets or websockets using gateway Jython scripts,? Does the gateway scripts have libraries for TCP sockets or websockets communication? I don't see…

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

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