# Module Development

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

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

**Page:** 27

---

## [OpenCV Issue, The Ignition maven gateway archetype does not work for me with OpenCV](https://forum.inductiveautomation.com/t/opencv-issue-the-ignition-maven-gateway-archetype-does-not-work-for-me-with-opencv/64225)

<div class="topic-metadata">

**Author:** [@Phillip\_Burns](https://forum.inductiveautomation.com/u/Phillip_Burns)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 1:33pm UTC](https://forum.inductiveautomation.com/t/opencv-issue-the-ignition-maven-gateway-archetype-does-not-work-for-me-with-opencv/64225 "2022-09-19T13:33:49Z")

</div>

I am trying to use OpenCV with ignition, I have followed some instructions online to add the jar file to the local maven repository. The two issues that I am having are that eclipse does not allow me to import the opencv…

---

## [How to produce StringField Wide and MultiLine?](https://forum.inductiveautomation.com/t/how-to-produce-stringfield-wide-and-multiline/47323)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 4\
**Last updated:** [September 15, 2022, 8:25pm UTC](https://forum.inductiveautomation.com/t/how-to-produce-stringfield-wide-and-multiline/47323 "2022-09-15T20:25:05Z")

</div>

I would like to create a field like for the project description. If I use setWide() or setMultiLine(), it’s ok separately, but I can’t have both ? Only wide is ok whatever the set order. public static final StringField…

---

## [Can a custom module read and write to the clipboard of a Perspective client?](https://forum.inductiveautomation.com/t/can-a-custom-module-read-and-write-to-the-clipboard-of-a-perspective-client/64094)

<div class="topic-metadata">

**Author:** [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Replies:** 8\
**Last updated:** [September 15, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/can-a-custom-module-read-and-write-to-the-clipboard-of-a-perspective-client/64094 "2022-09-15T14:19:12Z")

</div>

I found this answer on stackexchange about reading from the clipboard via a javascript API (at least I think it’s javascript…?) Possible to bring this into Ignition via a module? I’d like to use the clipboard for some…

---

## [Accessing ManagedTagProvider from Servlet](https://forum.inductiveautomation.com/t/accessing-managedtagprovider-from-servlet/64032)

<div class="topic-metadata">

**Author:** [@bfreeman](https://forum.inductiveautomation.com/u/bfreeman)\
**Replies:** 4\
**Last updated:** [September 14, 2022, 9:43pm UTC](https://forum.inductiveautomation.com/t/accessing-managedtagprovider-from-servlet/64032 "2022-09-14T21:43:11Z")

</div>

Hi, I’ve been looking at the Managed Tag Provider SDK example. I’d like to add a Servlet that would write to tags in the managed tag provider. What is the correct way of accessing the ManagedTagProvider inside the Serv…

---

## [Can't access API docs for 8.1.17](https://forum.inductiveautomation.com/t/cant-access-api-docs-for-8-1-17/64014)

<div class="topic-metadata">

**Author:** [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 4:35pm UTC](https://forum.inductiveautomation.com/t/cant-access-api-docs-for-8-1-17/64014 "2022-09-13T16:35:57Z")

</div>

When I click the link for 8.1.17 docs I get an access denied error as pictured. Is there a reason for this?

---

## [Replacing existing file mount with RouteGroup](https://forum.inductiveautomation.com/t/replacing-existing-file-mount-with-routegroup/63688)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 1\
**Last updated:** [September 1, 2022, 7:24pm UTC](https://forum.inductiveautomation.com/t/replacing-existing-file-mount-with-routegroup/63688 "2022-09-01T19:24:41Z")

</div>

Branching off of this thread on co-branding I was testing some hacky things out in trying to customize the username and password entry view that is currently provided the co-branding.css file directly, and doesn’t imple…

---

## [Trigger a refreshBinding('props.data') from inside the module](https://forum.inductiveautomation.com/t/trigger-a-refreshbinding-props-data-from-inside-the-module/51687)

<div class="topic-metadata">

**Author:** [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Replies:** 15\
**Last updated:** [August 30, 2022, 12:59am UTC](https://forum.inductiveautomation.com/t/trigger-a-refreshbinding-props-data-from-inside-the-module/51687 "2022-08-30T00:59:37Z")

</div>

Hello again, Is there a way to trigger a this.refreshBinding(‘props.data’) (or something similar) from inside the module? I would like to implement some sort of refresh button inside my table module. Im guessing its no…

---

## [Expose Server Metrics to Third Party Applications](https://forum.inductiveautomation.com/t/expose-server-metrics-to-third-party-applications/63276)

<div class="topic-metadata">

**Author:** [@alec](https://forum.inductiveautomation.com/u/alec)\
**Replies:** 2\
**Last updated:** [August 22, 2022, 3:59pm UTC](https://forum.inductiveautomation.com/t/expose-server-metrics-to-third-party-applications/63276 "2022-08-22T15:59:32Z")

</div>

Is there a way to expose the server metrics such as the ones under the Metrics Dashboard to a third-party app such as prometheus?

---

## [History Tag Provider: Custom Icons and Nested Tags](https://forum.inductiveautomation.com/t/history-tag-provider-custom-icons-and-nested-tags/62949)

<div class="topic-metadata">

**Author:** [@leonard.smit](https://forum.inductiveautomation.com/u/leonard.smit)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 3:31pm UTC](https://forum.inductiveautomation.com/t/history-tag-provider-custom-icons-and-nested-tags/62949 "2022-08-12T15:31:02Z")

</div>

Hi Forum! I just have a question around creating the capability to provide Historical tags via a custom module. Can folder and tag icons be replaced potentially by custom icons? Can Tags be a container for other tags?…

---

## ["Could not transfer artifact..." error when building example project](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842)

<div class="topic-metadata">

**Author:** [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Replies:** 9\
**Last updated:** [August 10, 2022, 1:30pm UTC](https://forum.inductiveautomation.com/t/could-not-transfer-artifact-error-when-building-example-project/62842 "2022-08-10T13:30:41Z")

</div>

I am trying to download the dependencies of the sample SDK file using maven but I am getting the following error “Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to releases (http…

---

## [IndexException whenever using PyArgParser](https://forum.inductiveautomation.com/t/indexexception-whenever-using-pyargparser/62692)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 9\
**Last updated:** [August 5, 2022, 7:29pm UTC](https://forum.inductiveautomation.com/t/indexexception-whenever-using-pyargparser/62692 "2022-08-05T19:29:37Z")

</div>

I am trying to create a scripting function using PyArgParser.getParser and following a few other postings with it, however no matter what I do I keep running into the same exception whenever I pass any args or kwargs int…

---

## [ScriptContext through client scope does not return project, but does in Perspective](https://forum.inductiveautomation.com/t/scriptcontext-through-client-scope-does-not-return-project-but-does-in-perspective/62604)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 21\
**Last updated:** [August 4, 2022, 3:38pm UTC](https://forum.inductiveautomation.com/t/scriptcontext-through-client-scope-does-not-return-project-but-does-in-perspective/62604 "2022-08-04T15:38:39Z")

</div>

I am using com.inductiveautomation.ignition.common.script.ScriptContext#defaultProject() to get the project from the client calling a script, so that I can make sure I read the resource out of the right project. What I …

---

## [Configure a module with project resources](https://forum.inductiveautomation.com/t/configure-a-module-with-project-resources/40727)

<div class="topic-metadata">

**Author:** [@mlunapinel](https://forum.inductiveautomation.com/u/mlunapinel)\
**Replies:** 43\
**Last updated:** [August 1, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/configure-a-module-with-project-resources/40727 "2022-08-01T23:05:56Z")

</div>

Hello! I made a scripting function module that needs some improving. This function has some parameters that I would like to erase, and get the information from somewhere else. The plan is to make a new folder in the Des…

---

## [React Development Question](https://forum.inductiveautomation.com/t/react-development-question/62462)

<div class="topic-metadata">

**Author:** [@Phillip\_Burns](https://forum.inductiveautomation.com/u/Phillip_Burns)\
**Replies:** 2\
**Last updated:** [July 30, 2022, 12:58am UTC](https://forum.inductiveautomation.com/t/react-development-question/62462 "2022-07-30T00:58:29Z")

</div>

I am working to set up a testing environment for react, it does not make any sense to me to have to compile a module in order to test the GUI. Could some let me know where I can find these two library files? ignition-li…

---

## [Markdown-Resource Java Conversion](https://forum.inductiveautomation.com/t/markdown-resource-java-conversion/62437)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 11:44pm UTC](https://forum.inductiveautomation.com/t/markdown-resource-java-conversion/62437 "2022-07-28T23:44:43Z")

</div>

I am working on adding a project resource to a module in Java, and working backwards from the Markdown resource project example I am struggling in my conversion of the resource itself from: Kotlin data class MarkdownRe…

---

## [Designer Launcher Logs for troubleshooting](https://forum.inductiveautomation.com/t/designer-launcher-logs-for-troubleshooting/62244)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 6\
**Last updated:** [July 26, 2022, 9:52pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-logs-for-troubleshooting/62244 "2022-07-26T21:52:06Z")

</div>

I am trying to help a coworker with a simple script module that seems to be causing the launcher to hang when opening a project. It will load correctly to the gateway, but get stuck on “Initializing Scripting…” when open…

---

## [TagHistoryProvider.browse and data pagination](https://forum.inductiveautomation.com/t/taghistoryprovider-browse-and-data-pagination/62254)

<div class="topic-metadata">

**Author:** [@Thomas\_Sorensen](https://forum.inductiveautomation.com/u/Thomas_Sorensen)\
**Replies:** 0\
**Last updated:** [July 24, 2022, 6:25pm UTC](https://forum.inductiveautomation.com/t/taghistoryprovider-browse-and-data-pagination/62254 "2022-07-24T18:25:19Z")

</div>

Hi I’ve created a custom TagHistoryProvider, and I’m trying to get data pagination to work when returning data from the TagHistoryProvider.browse method. If I look at the SDK documentation for Results, then it looks lik…

---

## [Where is this file (res/hce/js/homeconnectstatus.js) stored on windows?](https://forum.inductiveautomation.com/t/where-is-this-file-res-hce-js-homeconnectstatus-js-stored-on-windows/62213)

<div class="topic-metadata">

**Author:** [@Phillip\_Burns](https://forum.inductiveautomation.com/u/Phillip_Burns)\
**Replies:** 6\
**Last updated:** [July 25, 2022, 12:28pm UTC](https://forum.inductiveautomation.com/t/where-is-this-file-res-hce-js-homeconnectstatus-js-stored-on-windows/62213 "2022-07-25T12:28:15Z")

</div>

Could someone let me know where the web page resources are stored on the windows pc that is hosting the gateway? @Override public WebMarkupContainer getPanel(String panelId) { // We've set GatewayHook.g…

---

## [Component schema resource not found in project](https://forum.inductiveautomation.com/t/component-schema-resource-not-found-in-project/62189)

<div class="topic-metadata">

**Author:** [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Replies:** 1\
**Last updated:** [July 22, 2022, 5:50pm UTC](https://forum.inductiveautomation.com/t/component-schema-resource-not-found-in-project/62189 "2022-07-22T17:50:34Z")

</div>

I am trying to build out the simplest Perspective module possible just to add a button, and help me better understand the required pieces. Currently things are all building correctly, however when my gateway hook is sta…

---

## [Abstract Named Class](https://forum.inductiveautomation.com/t/abstract-named-class/62160)

<div class="topic-metadata">

**Author:** [@Phillip\_Burns](https://forum.inductiveautomation.com/u/Phillip_Burns)\
**Replies:** 2\
**Last updated:** [July 21, 2022, 1:17pm UTC](https://forum.inductiveautomation.com/t/abstract-named-class/62160 "2022-07-21T13:17:28Z")

</div>

Warning: The serializable class does not declare a static final serialVersionUID field of type long private static final INamedTab DWS\_STATUS\_PAGE = new AbstractNamedTab( "dws\_en\_US", StatusCategories.SY…

---

## [EnumField Example](https://forum.inductiveautomation.com/t/enumfield-example/61928)

<div class="topic-metadata">

**Author:** [@nicholas.robinson](https://forum.inductiveautomation.com/u/nicholas.robinson)\
**Replies:** 2\
**Last updated:** [July 16, 2022, 2:50am UTC](https://forum.inductiveautomation.com/t/enumfield-example/61928 "2022-07-16T02:50:55Z")

</div>

Does anyone have an example of how to use the following to make a drop down options list on a settings page? EnumField Thanks, Nick

---

## [Attaching a value change script to my managed tag from within Java at startup of module](https://forum.inductiveautomation.com/t/attaching-a-value-change-script-to-my-managed-tag-from-within-java-at-startup-of-module/61756)

<div class="topic-metadata">

**Author:** [@tom.prodehl](https://forum.inductiveautomation.com/u/tom.prodehl)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 8:21pm UTC](https://forum.inductiveautomation.com/t/attaching-a-value-change-script-to-my-managed-tag-from-within-java-at-startup-of-module/61756 "2022-07-11T20:21:51Z")

</div>

I create managed tags that are set at some point and want to trigger a script when the value changes. How do I attach a a script to my managed tag when it is created by my module? I got as far as getting tag config and…

---

## [Offline Repository Access](https://forum.inductiveautomation.com/t/offline-repository-access/61596)

<div class="topic-metadata">

**Author:** [@Jesse\_Hales](https://forum.inductiveautomation.com/u/Jesse_Hales)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 10:34pm UTC](https://forum.inductiveautomation.com/t/offline-repository-access/61596 "2022-07-06T22:34:36Z")

</div>

If a company were to try and develop modules in a cleared space with no internet access, is there any way to download a snapshot of the Inductive Automation module repos to point maven at them instead of the online versi…

---

## [com.inductiveautomation.xopc.driver.api.configuration.DriverType](https://forum.inductiveautomation.com/t/com-inductiveautomation-xopc-driver-api-configuration-drivertype/32215)

<div class="topic-metadata">

**Author:** [@Blynch](https://forum.inductiveautomation.com/u/Blynch)\
**Replies:** 10\
**Last updated:** [July 6, 2022, 5:15pm UTC](https://forum.inductiveautomation.com/t/com-inductiveautomation-xopc-driver-api-configuration-drivertype/32215 "2022-07-06T17:15:54Z")

</div>

Hello, I’m trying to convert a legacy Driver from v7.9 to v8 and im getting the following Java error after installing the driver in Ignition v8 Gateway. I realize that the class “com.inductiveautomation.xopc.driver.api…

---

## [Webpack Error when building perspective module](https://forum.inductiveautomation.com/t/webpack-error-when-building-perspective-module/49419)

<div class="topic-metadata">

**Author:** [@asavells](https://forum.inductiveautomation.com/u/asavells)\
**Replies:** 5\
**Last updated:** [July 4, 2022, 11:35am UTC](https://forum.inductiveautomation.com/t/webpack-error-when-building-perspective-module/49419 "2022-07-04T11:35:09Z")

</div>

I am trying to follow the demo project outlined here: Inductive Automation Account however I’m running into issues when trying to build the perspective module via the gradlew.bat buildModule command. I’ve added the apex…

---

## [HistorianModule, The query did not return the expected dataset.Problem: Invalid number of columns](https://forum.inductiveautomation.com/t/historianmodule-the-query-did-not-return-the-expected-dataset-problem-invalid-number-of-columns/60797)

<div class="topic-metadata">

**Author:** [@Naveen\_Batchu](https://forum.inductiveautomation.com/u/Naveen_Batchu)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 2:42pm UTC](https://forum.inductiveautomation.com/t/historianmodule-the-query-did-not-return-the-expected-dataset-problem-invalid-number-of-columns/60797 "2022-06-28T14:42:38Z")

</div>

Hi Guys, Getting error with Historian Module , while creating easy chart for the tags. Just few tags are having this issues. IOException in RemoteTagHistoryQueryExecutor.readColumnData(RemoteTagHistoryQueryExecutor.ja…

---

## [Creating new PersistentRecord and validating unique constraints](https://forum.inductiveautomation.com/t/creating-new-persistentrecord-and-validating-unique-constraints/61038)

<div class="topic-metadata">

**Author:** [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 5:05pm UTC](https://forum.inductiveautomation.com/t/creating-new-persistentrecord-and-validating-unique-constraints/61038 "2022-06-27T17:05:33Z")

</div>

I’m working on a driver-type module and would like to create a scripting function similar to system.device.addDevice. I have several different driver types, so I’m using the ExtensionPoint system. Here’s what I’ve got s…

---

## [TagHistoryManager().queryHistory : java.lang.IllegalArgumentException: Comparison method violates its general contract!](https://forum.inductiveautomation.com/t/taghistorymanager-queryhistory-java-lang-illegalargumentexception-comparison-method-violates-its-general-contract/41206)

<div class="topic-metadata">

**Author:** [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Replies:** 10\
**Last updated:** [June 27, 2022, 3:49pm UTC](https://forum.inductiveautomation.com/t/taghistorymanager-queryhistory-java-lang-illegalargumentexception-comparison-method-violates-its-general-contract/41206 "2022-06-27T15:49:31Z")

</div>

Ignition 8.1.0 I use TagHistoryManager().queryHistory to retrieve some history data from a module (gateway scope) Sometimes, I have the following exception: ResultWriter 03Dec2020 16:20:20 Error executing historical t…

---

## [OPC-UA Method Calls](https://forum.inductiveautomation.com/t/opc-ua-method-calls/11923)

<div class="topic-metadata">

**Author:** [@BillS](https://forum.inductiveautomation.com/u/BillS)\
**Replies:** 27\
**Last updated:** [June 24, 2022, 10:01pm UTC](https://forum.inductiveautomation.com/t/opc-ua-method-calls/11923 "2022-06-24T22:01:07Z")

</div>

Hello, A while back I inquired into how to call OPC-UA methods from within Ignition. At the time it was reported that the current OPC-UA stack did not allow method calls, but something was in the works. I was wonder…

---

## [Scheduling script execution?](https://forum.inductiveautomation.com/t/scheduling-script-execution/49512)

<div class="topic-metadata">

**Author:** [@son122](https://forum.inductiveautomation.com/u/son122)\
**Replies:** 5\
**Last updated:** [June 23, 2022, 9:40pm UTC](https://forum.inductiveautomation.com/t/scheduling-script-execution/49512 "2022-06-23T21:40:14Z")

</div>

Is it possible to execute a script on a schedule using the module SDK library? Similar to how the Ignition reports works. I see SelfSchedulingRunnable a good starting point, but how would it be setup to run on the Gate…

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

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