# Module Development

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

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

**Page:** 16

---

## [Perspective ComponentMeta Typing Issue](https://forum.inductiveautomation.com/t/perspective-componentmeta-typing-issue/94730)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 7\
**Last updated:** [August 16, 2024, 7:23pm UTC](https://forum.inductiveautomation.com/t/perspective-componentmeta-typing-issue/94730 "2024-08-16T19:23:25Z")

</div>

I feel like I am missing the smallest thing here, however for some reason when I am trying to build this very simple button component, it is giving me an error about the Component class not being assignable to type PComp…

---

## [Best way to install node packages](https://forum.inductiveautomation.com/t/best-way-to-install-node-packages/94748)

<div class="topic-metadata">

**Author:** [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 3:12pm UTC](https://forum.inductiveautomation.com/t/best-way-to-install-node-packages/94748 "2024-08-16T15:12:27Z")

</div>

Just looking for a best practice tip. What is the preferred or best way to go about installing node packages for perspective components? I originally used the perspective-component SDK example from the IA GitHub and I …

---

## [Error Connecting To Designer From Debugger](https://forum.inductiveautomation.com/t/error-connecting-to-designer-from-debugger/94733)

<div class="topic-metadata">

**Author:** [@Max\_Smosarski](https://forum.inductiveautomation.com/u/Max_Smosarski)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 2:46am UTC](https://forum.inductiveautomation.com/t/error-connecting-to-designer-from-debugger/94733 "2024-08-16T02:46:12Z")

</div>

I'm experiencing an issue with remote debugging in Ignition Designer using IntelliJ IDEA. The debugger initially connects on port 8001 but disconnects almost immediately, typically within a second. The debug connection o…

---

## [Can't create tags off UdtType using SDK](https://forum.inductiveautomation.com/t/cant-create-tags-off-udttype-using-sdk/94290)

<div class="topic-metadata">

**Author:** [@Aron\_Semle](https://forum.inductiveautomation.com/u/Aron_Semle)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 6:23pm UTC](https://forum.inductiveautomation.com/t/cant-create-tags-off-udttype-using-sdk/94290 "2024-08-12T18:23:27Z")

</div>

I'm trying to create a UDT definition using the SDK. Here is a code snippet. List\<PropertyValue\> propertyValues = new ArrayList\<\>(); propertyValues.add(new PropertyValue(WellKnownTagProps.TagType, TagObjec…

---

## [BundleUtil and Scripting Hints in Designer](https://forum.inductiveautomation.com/t/bundleutil-and-scripting-hints-in-designer/94386)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 7\
**Last updated:** [August 9, 2024, 4:08pm UTC](https://forum.inductiveautomation.com/t/bundleutil-and-scripting-hints-in-designer/94386 "2024-08-09T16:08:54Z")

</div>

I'm adding some scripting hints to my designer, and trying to put the script methods in an interface rather than an abstract class (I will only have a gateway representation of this class and am using a Proxy/Invocation …

---

## [Perspective Component - Perspective Workstation](https://forum.inductiveautomation.com/t/perspective-component-perspective-workstation/94397)

<div class="topic-metadata">

**Author:** [@e.sagnelonge](https://forum.inductiveautomation.com/u/e.sagnelonge)\
**Replies:** 2\
**Last updated:** [August 9, 2024, 12:53pm UTC](https://forum.inductiveautomation.com/t/perspective-component-perspective-workstation/94397 "2024-08-09T12:53:52Z")

</div>

Hello, I have developed a Perspective component that works very well with web browsers. However, when I try to use the Perspective Workstation, it cannot find the component in its ComponentRegistry. Is there something…

---

## [Perspective Component Handling Message](https://forum.inductiveautomation.com/t/perspective-component-handling-message/94226)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 3\
**Last updated:** [August 8, 2024, 10:44pm UTC](https://forum.inductiveautomation.com/t/perspective-component-handling-message/94226 "2024-08-08T22:44:45Z")

</div>

I'm writing my first Perspective component that will be receiving messages from the gateway, and I just wanted to confirm my understanding on the javascript side. I've written a ComponentStoreDelegate: export class Mat…

---

## [TS1005 Issue no matter what package I install](https://forum.inductiveautomation.com/t/ts1005-issue-no-matter-what-package-i-install/94333)

<div class="topic-metadata">

**Author:** [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Replies:** 1\
**Last updated:** [August 8, 2024, 1:29pm UTC](https://forum.inductiveautomation.com/t/ts1005-issue-no-matter-what-package-i-install/94333 "2024-08-08T13:29:52Z")

</div>

I am starting to feel a little crazy! I am starting to play around with creating some perspective components and I am running into a TS1005 issue where anytime I try to run the gradle build it says I have an issue with r…

---

## [WebDev in Debug Designer?](https://forum.inductiveautomation.com/t/webdev-in-debug-designer/92750)

<div class="topic-metadata">

**Author:** [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Replies:** 10\
**Last updated:** [August 6, 2024, 8:19pm UTC](https://forum.inductiveautomation.com/t/webdev-in-debug-designer/92750 "2024-08-06T20:19:11Z")

</div>

Similar to how you must add \<dependency\> \<groupId\>com.inductiveautomation.ignitionsdk\</groupId\> \<artifactId\>perspective-designer\</artifactId\> \<version\>${ignition-sdk-version}\</version\>…

---

## [Getting Logged in User on Client/Designer](https://forum.inductiveautomation.com/t/getting-logged-in-user-on-client-designer/79228)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 16\
**Last updated:** [August 6, 2024, 4:18pm UTC](https://forum.inductiveautomation.com/t/getting-logged-in-user-on-client-designer/79228 "2024-08-06T16:18:55Z")

</div>

I have an RPC endpoint I'd like to protect by checking security levels/zones/roles etc. I wanted to check what the recommended way of handling this would be? I'm thinking I'll use the GatewayConnectionManager and Client…

---

## [Vision Component - removing default appearance properties?](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107)

<div class="topic-metadata">

**Author:** [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Replies:** 3\
**Last updated:** [August 2, 2024, 1:39pm UTC](https://forum.inductiveautomation.com/t/vision-component-removing-default-appearance-properties/94107 "2024-08-02T13:39:58Z")

</div>

Hi all, Just a quick one when I create new vision components, the default properties you would expect appear in the appearance show up (I am referring to the Font, Foreground Color and Background Color properties). I a…

---

## [How to get the Gateway Title / Name](https://forum.inductiveautomation.com/t/how-to-get-the-gateway-title-name/94065)

<div class="topic-metadata">

**Author:** [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 4:41pm UTC](https://forum.inductiveautomation.com/t/how-to-get-the-gateway-title-name/94065 "2024-08-01T16:41:44Z")

</div>

In either the Gateway context, or preferably directly in the designer context, how do I get the "Ignition-RO...." text?

---

## [Mounted resource in jar file](https://forum.inductiveautomation.com/t/mounted-resource-in-jar-file/94059)

<div class="topic-metadata">

**Author:** [@abelew](https://forum.inductiveautomation.com/u/abelew)\
**Replies:** 3\
**Last updated:** [August 1, 2024, 4:04pm UTC](https://forum.inductiveautomation.com/t/mounted-resource-in-jar-file/94059 "2024-08-01T16:04:57Z")

</div>

GAteway hooks have a method called getMountedResourceFolder, which mounts a folder from a module's gateway jar file. I'm following the gradle tutorial for creating a module. How do i add a resources folder to my project …

---

## [Creating a button component that triggers a navigation event](https://forum.inductiveautomation.com/t/creating-a-button-component-that-triggers-a-navigation-event/93735)

<div class="topic-metadata">

**Author:** [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Replies:** 8\
**Last updated:** [July 31, 2024, 4:58pm UTC](https://forum.inductiveautomation.com/t/creating-a-button-component-that-triggers-a-navigation-event/93735 "2024-07-31T16:58:10Z")

</div>

Hi all, I am attempting to make a simple button with pre-implemented navigation code in a module I am creating. But I cannot figure out how to get this scripting into the Java Module. Basically, the component has 2x St…

---

## [Scripting Hints/Parameters showing up in binding editor but not scripting editor or script console](https://forum.inductiveautomation.com/t/scripting-hints-parameters-showing-up-in-binding-editor-but-not-scripting-editor-or-script-console/93905)

<div class="topic-metadata">

**Author:** [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Replies:** 2\
**Last updated:** [July 30, 2024, 1:23pm UTC](https://forum.inductiveautomation.com/t/scripting-hints-parameters-showing-up-in-binding-editor-but-not-scripting-editor-or-script-console/93905 "2024-07-30T13:23:28Z")

</div>

I am sure I am just missing some small path or something of the sort, but for the life of me I cannot figure out how to get my scripts to show up with params or anything other than the binding editor. Here is an example…

---

## [Remote debug refusing to connect](https://forum.inductiveautomation.com/t/remote-debug-refusing-to-connect/93772)

<div class="topic-metadata">

**Author:** [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 9:39pm UTC](https://forum.inductiveautomation.com/t/remote-debug-refusing-to-connect/93772 "2024-07-29T21:39:48Z")

</div>

Running on 8.1.42 Error: My setup: wrapper.java.additional.6=-Xdebug wrapper.java.additional.7=-Xrunjdwp:transport=dt\_socket,server=y,suspend=n,address=\*:8000 wrapper.java.additional.7=-Dignition.allowunsignedmod…

---

## [Ignition Module getTagManager](https://forum.inductiveautomation.com/t/ignition-module-gettagmanager/93757)

<div class="topic-metadata">

**Author:** [@jtdfan](https://forum.inductiveautomation.com/u/jtdfan)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 5:38pm UTC](https://forum.inductiveautomation.com/t/ignition-module-gettagmanager/93757 "2024-07-25T17:38:35Z")

</div>

If we implement a TagChangeListener interface and subscribe to tags using context.getTagManager().subscribeAsync(tagPath, this), do the tagChangedEvents share threads with the 3 thread limit of tag change scripts? I kn…

---

## [Adding Icons to Custom Vision Components](https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678)

<div class="topic-metadata">

**Author:** [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 5:55pm UTC](https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678 "2024-07-24T17:55:13Z")

</div>

Hi all, Hoping someone can provide some assistance or even just tell me if this is possible. I am developing a Vision Module that provides some new components and I am wondering how I can go about adding icons in the C…

---

## [Remote Debugger Crashing Gateway](https://forum.inductiveautomation.com/t/remote-debugger-crashing-gateway/93676)

<div class="topic-metadata">

**Author:** [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 3:01pm UTC](https://forum.inductiveautomation.com/t/remote-debugger-crashing-gateway/93676 "2024-07-24T15:01:37Z")

</div>

Lately, my local development Ignition is crashing when I'm using the remote JVM debugger and running through breakpoints. Is there some kind of new "Pause the World" watcher that restarts the JVM or something?

---

## [Using ResourceServlet](https://forum.inductiveautomation.com/t/using-resourceservlet/93562)

<div class="topic-metadata">

**Author:** [@abelew](https://forum.inductiveautomation.com/u/abelew)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 7:51pm UTC](https://forum.inductiveautomation.com/t/using-resourceservlet/93562 "2024-07-22T19:51:44Z")

</div>

This is the servlet mounted at /main/res/. It serves up resources from within modules. Most of the heavy lifting is done by ModuleResourceLocator, since we can't actually get to anything useful from here in bootstrap I…

---

## [Accessing java API within an own module from perspectives](https://forum.inductiveautomation.com/t/accessing-java-api-within-an-own-module-from-perspectives/93064)

<div class="topic-metadata">

**Author:** [@Christoph\_Schauer](https://forum.inductiveautomation.com/u/Christoph_Schauer)\
**Replies:** 7\
**Last updated:** [July 15, 2024, 2:31pm UTC](https://forum.inductiveautomation.com/t/accessing-java-api-within-an-own-module-from-perspectives/93064 "2024-07-15T14:31:52Z")

</div>

Hi everyone, I have a question regarding an own Ignition Module and accessing it from a script in perspectives. We want to integrate a more complex system that is available to us via a SOAP interface. Data that needs t…

---

## [ScriptManager script path](https://forum.inductiveautomation.com/t/scriptmanager-script-path/93175)

<div class="topic-metadata">

**Author:** [@770043297](https://forum.inductiveautomation.com/u/770043297)\
**Replies:** 3\
**Last updated:** [July 15, 2024, 5:45am UTC](https://forum.inductiveautomation.com/t/scriptmanager-script-path/93175 "2024-07-15T05:45:54Z")

</div>

This is a snippet of my code class GatewayHook extends AbstractGatewayModuleHook { public void initializeScriptManager(ScriptManager manager) { manager.runCode("", localsMap, "code.py"); Which folder should…

---

## [Function Exception Logging: Capturing Source](https://forum.inductiveautomation.com/t/function-exception-logging-capturing-source/93156)

<div class="topic-metadata">

**Author:** [@Jason\_Zhou](https://forum.inductiveautomation.com/u/Jason_Zhou)\
**Replies:** 6\
**Last updated:** [July 12, 2024, 5:43pm UTC](https://forum.inductiveautomation.com/t/function-exception-logging-capturing-source/93156 "2024-07-12T17:43:57Z")

</div>

I'm writing scripting functions in Java, and if one of the functions were to be run from for example a perspective component script, or a tag script, I want to be able to capture that. For example: What I want here …

---

## [Creating OPC Connection on Gateway through Java SDKs](https://forum.inductiveautomation.com/t/creating-opc-connection-on-gateway-through-java-sdks/93133)

<div class="topic-metadata">

**Author:** [@Srivatsa\_N](https://forum.inductiveautomation.com/u/Srivatsa_N)\
**Replies:** 7\
**Last updated:** [July 12, 2024, 2:18pm UTC](https://forum.inductiveautomation.com/t/creating-opc-connection-on-gateway-through-java-sdks/93133 "2024-07-12T14:18:25Z")

</div>

HI, I am trying to create a OPC connection on Gateway through Java SDK and not use Gateway web interface. Below is where I wanted to see the connection and have added the necessary code. The method needs a parameter …

---

## [Accept embedded view in custom component](https://forum.inductiveautomation.com/t/accept-embedded-view-in-custom-component/93012)

<div class="topic-metadata">

**Author:** [@Mats\_Sommervold](https://forum.inductiveautomation.com/u/Mats_Sommervold)\
**Replies:** 2\
**Last updated:** [July 10, 2024, 11:58pm UTC](https://forum.inductiveautomation.com/t/accept-embedded-view-in-custom-component/93012 "2024-07-10T23:58:21Z")

</div>

I am trying to create a library of custom components, however, I cant seem to find out how to create my own components that takes a view or component as a child. Like creating a custom embedded view component. And to fo…

---

## [java.lang.NoClassDefFoundError: com/inductiveautomation/perspective/gateway/api/PerspectiveContext](https://forum.inductiveautomation.com/t/java-lang-noclassdeffounderror-com-inductiveautomation-perspective-gateway-api-perspectivecontext/85252)

<div class="topic-metadata">

**Author:** [@Chad\_Gregory](https://forum.inductiveautomation.com/u/Chad_Gregory)\
**Replies:** 6\
**Last updated:** [July 10, 2024, 1:57pm UTC](https://forum.inductiveautomation.com/t/java-lang-noclassdeffounderror-com-inductiveautomation-perspective-gateway-api-perspectivecontext/85252 "2024-07-10T13:57:08Z")

</div>

I am trying to learn how to successfully build a custom module for Ignition Perspective but I am running into an issue. I have added a simple react component and built my project successfully and I get the .modl file but…

---

## [imageManager.getImage](https://forum.inductiveautomation.com/t/imagemanager-getimage/92794)

<div class="topic-metadata">

**Author:** [@Darren\_Steele](https://forum.inductiveautomation.com/u/Darren_Steele)\
**Replies:** 4\
**Last updated:** [July 10, 2024, 9:19am UTC](https://forum.inductiveautomation.com/t/imagemanager-getimage/92794 "2024-07-10T09:19:46Z")

</div>

Hi all, I'm dynamically importing images using something along the lines of: ImageManager imgMgr = getMyContext().getImageManager(); ImageRecord i = imgMgr.getImage("icons/" + filename); byte\[\] bytes = i.getBytes(Image…

---

## [Plejd for Ignition](https://forum.inductiveautomation.com/t/plejd-for-ignition/92869)

<div class="topic-metadata">

**Author:** [@Sonny\_bergenholtz](https://forum.inductiveautomation.com/u/Sonny_bergenholtz)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 8:53am UTC](https://forum.inductiveautomation.com/t/plejd-for-ignition/92869 "2024-07-09T08:53:01Z")

</div>

Hi, Has anyone managed to get plejd controls into Ignition? I have looked at hassio-plejd/plejd at 544172d8066cdbe0d3246fa8758d0e8afe2830be · icanos/hassio-plejd · GitHub which is a working implementation for homeassis…

---

## [BasicContainer do not persist the components dropped](https://forum.inductiveautomation.com/t/basiccontainer-do-not-persist-the-components-dropped/45382)

<div class="topic-metadata">

**Author:** [@damien.boissat](https://forum.inductiveautomation.com/u/damien.boissat)\
**Replies:** 15\
**Last updated:** [July 3, 2024, 7:53pm UTC](https://forum.inductiveautomation.com/t/basiccontainer-do-not-persist-the-components-dropped/45382 "2024-07-03T19:53:17Z")

</div>

Hello, I have created the simplest component extending BasicContainer and it doesn’t persist the components dropped on it, I noticed they are not serialized in the xml of the container. Component: public class TestCo…

---

## [JPMS Module Issues?](https://forum.inductiveautomation.com/t/jpms-module-issues/92678)

<div class="topic-metadata">

**Author:** [@Robert\_McIlvenna](https://forum.inductiveautomation.com/u/Robert_McIlvenna)\
**Replies:** 13\
**Last updated:** [July 2, 2024, 4:06pm UTC](https://forum.inductiveautomation.com/t/jpms-module-issues/92678 "2024-07-02T16:06:08Z")

</div>

Recently I got back into module development, and I have a module being developed with Maven for dependencies that hasn't been updated for a few months. I'm trying to get the module to debug using https://docs.inductiveau…

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

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