# Ignition

**URL:** https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=589

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

**Page:** 590

---

## [Scripting indirect tag errror: 'unicode' and 'long' objects](https://forum.inductiveautomation.com/t/scripting-indirect-tag-errror-unicode-and-long-objects/77866)

<div class="topic-metadata">

**Author:** [@Gabriel\_Schwinghamme](https://forum.inductiveautomation.com/u/Gabriel_Schwinghamme)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 1:58pm UTC](https://forum.inductiveautomation.com/t/scripting-indirect-tag-errror-unicode-and-long-objects/77866 "2023-08-15T13:58:05Z")

</div>

Hi, I wrote a script for an on click event to act as a toggle button. I am getting this error Error running action 'dom.onClick' on Page/Alarm\_Setup\_CCC@D/root/AlarmSetup1/Enable: Traceback (most recent call last): …

---

## [Type casting tags to compare in expression binding](https://forum.inductiveautomation.com/t/type-casting-tags-to-compare-in-expression-binding/77862)

<div class="topic-metadata">

**Author:** [@Ethan\_Tabachnikov](https://forum.inductiveautomation.com/u/Ethan_Tabachnikov)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 2:02pm UTC](https://forum.inductiveautomation.com/t/type-casting-tags-to-compare-in-expression-binding/77862 "2023-08-15T14:02:13Z")

</div>

Hello, I have a tag (let's say called A) which contains a Short number. I would like to use this tag to run the following code: if (TagA = 16) Return TagB else Return TagC I am doing this in the Path property usin…

---

## [\[SOLVED\] Ignition refreshing tables](https://forum.inductiveautomation.com/t/solved-ignition-refreshing-tables/77828)

<div class="topic-metadata">

**Author:** [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Replies:** 4\
**Last updated:** [August 15, 2023, 1:21pm UTC](https://forum.inductiveautomation.com/t/solved-ignition-refreshing-tables/77828 "2023-08-15T13:21:57Z")

</div>

Hello everyone, I have tables in my project and I put that every 5 seconds will update de information, but sometimes my tables doesn´t resfresh in that time until I clicked in a row of the table or until I pressed a butt…

---

## [Error sending email , expected MIME Type, got Null?](https://forum.inductiveautomation.com/t/error-sending-email-expected-mime-type-got-null/77710)

<div class="topic-metadata">

**Author:** [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 12:38pm UTC](https://forum.inductiveautomation.com/t/error-sending-email-expected-mime-type-got-null/77710 "2023-08-15T12:38:50Z")

</div>

Using 7.9.23. Trying to send a report with the following script - def sendReport(endDateDT=None): """ How will we determine what counts as marked? should marked really be a datetime? Perhaps. Or based on whe…

---

## [Using time.sleep in a dedicated threaded gateway script](https://forum.inductiveautomation.com/t/using-time-sleep-in-a-dedicated-threaded-gateway-script/77850)

<div class="topic-metadata">

**Author:** [@Eskil\_Holum](https://forum.inductiveautomation.com/u/Eskil_Holum)\
**Replies:** 2\
**Last updated:** [August 15, 2023, 11:57am UTC](https://forum.inductiveautomation.com/t/using-time-sleep-in-a-dedicated-threaded-gateway-script/77850 "2023-08-15T11:57:49Z")

</div>

Hi, im using a gateway timer script to do some network depenedent work. If the servers connection is down this script will throw an exception. I want to instead catch this exception and retry a couple of times with a de…

---

## [Use CSS Variable instead of Python Script](https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501)

<div class="topic-metadata">

**Author:** [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Replies:** 36\
**Last updated:** [August 15, 2023, 8:18am UTC](https://forum.inductiveautomation.com/t/use-css-variable-instead-of-python-script/77501 "2023-08-15T08:18:33Z")

</div>

I want to bind a parameter from the return of a python script. But my script does not get evaluated, as you can see, I put "1" on expression and use a script transform - I used to do this but just found that this is bad…

---

## [Gateway tag change script cannot hold the value](https://forum.inductiveautomation.com/t/gateway-tag-change-script-cannot-hold-the-value/77481)

<div class="topic-metadata">

**Author:** [@mbai1](https://forum.inductiveautomation.com/u/mbai1)\
**Replies:** 10\
**Last updated:** [August 15, 2023, 8:14am UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-cannot-hold-the-value/77481 "2023-08-15T08:14:47Z")

</div>

hello, In my gateway tag change script, I have a if condition to turn a external indicator on and off, however, I found that the indicator tag will be off after sometimes when it being turn on. The indicator tag cannot …

---

## [Text on Perspective elements doesn't shrink](https://forum.inductiveautomation.com/t/text-on-perspective-elements-doesnt-shrink/35976)

<div class="topic-metadata">

**Author:** [@mario.colombo91](https://forum.inductiveautomation.com/u/mario.colombo91)\
**Replies:** 13\
**Last updated:** [March 6, 2021, 3:27am UTC](https://forum.inductiveautomation.com/t/text-on-perspective-elements-doesnt-shrink/35976 "2021-03-06T03:27:10Z")

</div>

Greetings, i have a project with views with all the elements inside without other containers (Only Root); ! \[Project | 273x383\] (upload: //bh7FLzFcCGoU2HTcfg7jMZWqML8.png) i tried to make this view in “Percent” mode, …

---

## [Dropdown open content automatically](https://forum.inductiveautomation.com/t/dropdown-open-content-automatically/63903)

<div class="topic-metadata">

**Author:** [@Sheko29](https://forum.inductiveautomation.com/u/Sheko29)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 6:22am UTC](https://forum.inductiveautomation.com/t/dropdown-open-content-automatically/63903 "2023-08-15T06:22:43Z")

</div>

Hello, I wanted to know if there is some way to open a dropdown content automatically with an event, or with a CSS property… I found that there is a “display” property for dropdown-content on CSS, but I really don’t kno…

---

## [To develop perspective on 1366x768 or 1920x1080 on a 1366x768 screen](https://forum.inductiveautomation.com/t/to-develop-perspective-on-1366x768-or-1920x1080-on-a-1366x768-screen/77844)

<div class="topic-metadata">

**Author:** [@yin.cheng](https://forum.inductiveautomation.com/u/yin.cheng)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 5:52am UTC](https://forum.inductiveautomation.com/t/to-develop-perspective-on-1366x768-or-1920x1080-on-a-1366x768-screen/77844 "2023-08-15T05:52:08Z")

</div>

Hi All, i am working on a perspective project. The clients would be viewing the screens from their laptops which has a max resolution of 1366x768. Most of the views would be on Coordinate Container. I understand that i …

---

## [How to enable the CORS on the web dev module](https://forum.inductiveautomation.com/t/how-to-enable-the-cors-on-the-web-dev-module/74669)

<div class="topic-metadata">

**Author:** [@fmata](https://forum.inductiveautomation.com/u/fmata)\
**Replies:** 2\
**Last updated:** [August 15, 2023, 3:48am UTC](https://forum.inductiveautomation.com/t/how-to-enable-the-cors-on-the-web-dev-module/74669 "2023-08-15T03:48:32Z")

</div>

Hi, I am trying to enable the CORS on the web dev module, but I am not able to get it working. I have set up the CORS headers in the doOptions method, but I am still encountering the same CORS issue on the frontend. Add…

---

## [Tag change event](https://forum.inductiveautomation.com/t/tag-change-event/77843)

<div class="topic-metadata">

**Author:** [@mbai1](https://forum.inductiveautomation.com/u/mbai1)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 3:21am UTC](https://forum.inductiveautomation.com/t/tag-change-event/77843 "2023-08-15T03:21:40Z")

</div>

hello, I have a question that for some of my tags (for example, tag A) that being triggered by tag event ( in both gateway event tag change or value changed script in the tag), the tag A will reset to 0 after some perio…

---

## [Show a highlighted border on mouse over](https://forum.inductiveautomation.com/t/show-a-highlighted-border-on-mouse-over/77779)

<div class="topic-metadata">

**Author:** [@Harrison\_Ting](https://forum.inductiveautomation.com/u/Harrison_Ting)\
**Replies:** 3\
**Last updated:** [August 14, 2023, 11:59pm UTC](https://forum.inductiveautomation.com/t/show-a-highlighted-border-on-mouse-over/77779 "2023-08-14T23:59:13Z")

</div>

This should be very simple but I'm struggling with it. Converting from another HMI product where this is automatic on any object that have a clickable action associated with it. Basically I want any object, be that a s…

---

## [Dynamically Create One or More yAxis with Auto-Range Enabled](https://forum.inductiveautomation.com/t/dynamically-create-one-or-more-yaxis-with-auto-range-enabled/77485)

<div class="topic-metadata">

**Author:** [@yiotis](https://forum.inductiveautomation.com/u/yiotis)\
**Replies:** 6\
**Last updated:** [August 14, 2023, 10:15pm UTC](https://forum.inductiveautomation.com/t/dynamically-create-one-or-more-yaxis-with-auto-range-enabled/77485 "2023-08-14T22:15:54Z")

</div>

Hello. I am using the chart component. I've added 25 datasets each pulling in a different set of SQL timeseries data. There are also 25 checkboxes, when checked, the corresponding chart becomes visible on the chart objec…

---

## [Search for string and filter tag Tag Browse Component](https://forum.inductiveautomation.com/t/search-for-string-and-filter-tag-tag-browse-component/77814)

<div class="topic-metadata">

**Author:** [@Urvish\_Mehta](https://forum.inductiveautomation.com/u/Urvish_Mehta)\
**Replies:** 4\
**Last updated:** [August 14, 2023, 9:50pm UTC](https://forum.inductiveautomation.com/t/search-for-string-and-filter-tag-tag-browse-component/77814 "2023-08-14T21:50:05Z")

</div>

Hello All, I have Tag browse component and want to filter tags with the string provided. I did similar for Alarm status table and works great but some how it does not work for this component. Most likely I am missing so…

---

## [Printing stack trace to gateway logs from a try](https://forum.inductiveautomation.com/t/printing-stack-trace-to-gateway-logs-from-a-try/77776)

<div class="topic-metadata">

**Author:** [@AIO](https://forum.inductiveautomation.com/u/AIO)\
**Replies:** 9\
**Last updated:** [August 14, 2023, 9:43pm UTC](https://forum.inductiveautomation.com/t/printing-stack-trace-to-gateway-logs-from-a-try/77776 "2023-08-14T21:43:29Z")

</div>

Hey folks, We have a gateway script running stored procedures. If a stored procedure fails, we need to notify the users so they know to halt the process and review the data. However, by implementing a try, we lose out o…

---

## [Perspective Dropdown Loading Performance](https://forum.inductiveautomation.com/t/perspective-dropdown-loading-performance/77830)

<div class="topic-metadata">

**Author:** [@Derek\_Reees](https://forum.inductiveautomation.com/u/Derek_Reees)\
**Replies:** 5\
**Last updated:** [August 14, 2023, 9:21pm UTC](https://forum.inductiveautomation.com/t/perspective-dropdown-loading-performance/77830 "2023-08-14T21:21:14Z")

</div>

I have a dropdown with ~32K options currently and it takes a second or two for the dropdown to load. This happens on both mobile & desktop (v8.1.27) I tried moving the direct binding to an onStartup script, thinking it…

---

## [Error ignition java heap space](https://forum.inductiveautomation.com/t/error-ignition-java-heap-space/77826)

<div class="topic-metadata">

**Author:** [@Esmeralda\_Lopez](https://forum.inductiveautomation.com/u/Esmeralda_Lopez)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 9:10pm UTC](https://forum.inductiveautomation.com/t/error-ignition-java-heap-space/77826 "2023-08-14T21:10:44Z")

</div>

Hello everyone, when I got this error appears: Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at com.inductiveautomation.factorypmi.application.components.VisionAdvancedTable.lambda$…

---

## [What Minimum Sample Rate should be used to capture only On Change for a discrete tag?](https://forum.inductiveautomation.com/t/what-minimum-sample-rate-should-be-used-to-capture-only-on-change-for-a-discrete-tag/77822)

<div class="topic-metadata">

**Author:** [@Warren\_Hem](https://forum.inductiveautomation.com/u/Warren_Hem)\
**Replies:** 3\
**Last updated:** [August 14, 2023, 9:01pm UTC](https://forum.inductiveautomation.com/t/what-minimum-sample-rate-should-be-used-to-capture-only-on-change-for-a-discrete-tag/77822 "2023-08-14T21:01:10Z")

</div>

We have a discrete tag that I only want to record history when the tag changes. I don't need a minimum or maximum time between samples. Will a setting of 0 for both Min and Max remove any min and max time sample when sam…

---

## [Webdev equivalent of postData in doPut?](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821)

<div class="topic-metadata">

**Author:** [@automatisation](https://forum.inductiveautomation.com/u/automatisation)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 6:12pm UTC](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821 "2023-08-14T18:12:11Z")

</div>

Hi, Ignition version : 8.1.26 In the webdev module, with the Python resource, I would like to separate my inserts (POST) from my updates (PUT). I'm using postData for the doPost but I can't find an equivalent for the …

---

## [Docked Views - Dynamic Size Change?](https://forum.inductiveautomation.com/t/docked-views-dynamic-size-change/48416)

<div class="topic-metadata">

**Author:** [@eberly88](https://forum.inductiveautomation.com/u/eberly88)\
**Replies:** 11\
**Last updated:** [August 14, 2023, 6:09pm UTC](https://forum.inductiveautomation.com/t/docked-views-dynamic-size-change/48416 "2023-08-14T18:09:44Z")

</div>

Are there any plans to give you the ability to dynamically size a dock via script? I have 3 different sidebar views docked (collapsed, hover, expanded) to get it the work the way I want. But that ended up creating a …

---

## [\[IGN-8195\]Editable dropdown does not launch touchscreen keyboard](https://forum.inductiveautomation.com/t/ign-8195-editable-dropdown-does-not-launch-touchscreen-keyboard/77813)

<div class="topic-metadata">

**Author:** [@Zach\_The](https://forum.inductiveautomation.com/u/Zach_The)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 4:33pm UTC](https://forum.inductiveautomation.com/t/ign-8195-editable-dropdown-does-not-launch-touchscreen-keyboard/77813 "2023-08-14T16:33:38Z")

</div>

I am using an editable dropdown as a interaction with an SQL query where clicking pulls all the rows under a certain column but can also be edited for adding new rows, it works flawlessly using a mouse but clicking the e…

---

## [Device Load Factor](https://forum.inductiveautomation.com/t/device-load-factor/15781)

<div class="topic-metadata">

**Author:** [@scicco](https://forum.inductiveautomation.com/u/scicco)\
**Replies:** 129\
**Last updated:** [August 14, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/device-load-factor/15781 "2023-08-14T16:11:14Z")

</div>

Hello, I was poking around the different status pages on the gateway and noticed the load factor for all my devices is anywhere from 105% - 275% for "Scheduled at 1000ms". There are close to 40,000 tags in my project …

---

## [Ignition OPC UA server](https://forum.inductiveautomation.com/t/ignition-opc-ua-server/77812)

<div class="topic-metadata">

**Author:** [@nabil\_hocini](https://forum.inductiveautomation.com/u/nabil_hocini)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 3:39pm UTC](https://forum.inductiveautomation.com/t/ignition-opc-ua-server/77812 "2023-08-14T15:39:08Z")

</div>

i don't know how i can get a good signal instead a bad signal ?

---

## [OAuth 2.0 generate token](https://forum.inductiveautomation.com/t/oauth-2-0-generate-token/77809)

<div class="topic-metadata">

**Author:** [@Ajay\_Gupta](https://forum.inductiveautomation.com/u/Ajay_Gupta)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 3:29pm UTC](https://forum.inductiveautomation.com/t/oauth-2-0-generate-token/77809 "2023-08-14T15:29:14Z")

</div>

Hi, I am trying to call an endpoint which generates bearer token which will be used for calling another endpoint for OAuth 2.0 authentication using the bearer token generated from the first endpoint. The generate token…

---

## [Modal Dropdown Behaviors](https://forum.inductiveautomation.com/t/modal-dropdown-behaviors/77634)

<div class="topic-metadata">

**Author:** [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Replies:** 5\
**Last updated:** [August 14, 2023, 2:32pm UTC](https://forum.inductiveautomation.com/t/modal-dropdown-behaviors/77634 "2023-08-14T14:32:35Z")

</div>

I have a CSS style to limit the height of a modal dropdown list like so: .iaDropdownCommon\_options\_modal\>div:first-child{ max-height: 80% !important; } However, this seems to force all dropdowns to be modal. I have…

---

## [Badge Authentication by Default](https://forum.inductiveautomation.com/t/badge-authentication-by-default/77803)

<div class="topic-metadata">

**Author:** [@Alex\_Leech](https://forum.inductiveautomation.com/u/Alex_Leech)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/badge-authentication-by-default/77803 "2023-08-14T13:04:40Z")

</div>

Hi crew! Is there presently a way to make the default idp login method by badge rather than by user/pass? Thanks! Alex

---

## [Perspective - Horizontal Menu - items are not vertical](https://forum.inductiveautomation.com/t/perspective-horizontal-menu-items-are-not-vertical/77806)

<div class="topic-metadata">

**Author:** [@Luis\_Perez1](https://forum.inductiveautomation.com/u/Luis_Perez1)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 1:02pm UTC](https://forum.inductiveautomation.com/t/perspective-horizontal-menu-items-are-not-vertical/77806 "2023-08-14T13:02:27Z")

</div>

Hello. my horizontal menu component is not showing the items in a vertical manner. See below picture from the example compared to mine VS i checked all the properties and can't find any issues. please advise thank…

---

## [Get client hostname at "Security Level Rules"](https://forum.inductiveautomation.com/t/get-client-hostname-at-security-level-rules/77747)

<div class="topic-metadata">

**Author:** [@Lev\_B](https://forum.inductiveautomation.com/u/Lev_B)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 11:39am UTC](https://forum.inductiveautomation.com/t/get-client-hostname-at-security-level-rules/77747 "2023-08-14T11:39:11Z")

</div>

We are attempting to establish a dynamic Security Level Rule that applies when the hostname of a client is found in a dataset. This Rule is working: lookup( //dataset {\[provider\]IGN/DBCache/BMS\_DATA/ClientProperties/da…

---

## [Sending UDT's with sparkplug B nodes in Node-Red](https://forum.inductiveautomation.com/t/sending-udts-with-sparkplug-b-nodes-in-node-red/77781)

<div class="topic-metadata">

**Author:** [@Theodorska](https://forum.inductiveautomation.com/u/Theodorska)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 9:01am UTC](https://forum.inductiveautomation.com/t/sending-udts-with-sparkplug-b-nodes-in-node-red/77781 "2023-08-14T09:01:31Z")

</div>

Hello! We are currently testing out node-red as an interface between OPC UA and MQTT sparkplug B. I am able to subscribe to values from the OPC UA connection, and I am able to connect the sparkplug B nodes to Ignition. …

[Previous page](https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=588)

[Next page](https://forum.inductiveautomation.com/c/ignition/6.md?no_subcategories=false&page=590)
