# Latest

**URL:** https://forum.inductiveautomation.com/latest.md?page=1247

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

**Page:** 1248

---

## [dateFormat returns the wrong year](https://forum.inductiveautomation.com/t/dateformat-returns-the-wrong-year/41839)

<div class="topic-metadata">

**Author:** [@gpg](https://forum.inductiveautomation.com/u/gpg)\
**Replies:** 1\
**Last updated:** [December 29, 2020, 3:01pm UTC](https://forum.inductiveautomation.com/t/dateformat-returns-the-wrong-year/41839 "2020-12-29T15:01:02Z")

</div>

Just found out I had multiple tags report the wrong year (2021 instead of 2020) I was using dateFormat(now(),“YYYY-MM-dd”) will return 2021-12-29 dateFormat(now(),“yyyy-MM-dd”) will return 2020-12-29 FYI Reason:

---

## [Official Open Source OPC-UA Server Consistently Faulting](https://forum.inductiveautomation.com/t/official-open-source-opc-ua-server-consistently-faulting/27364)

<div class="topic-metadata">

**Author:** [@kl55](https://forum.inductiveautomation.com/u/kl55)\
**Replies:** 8\
**Last updated:** [December 29, 2020, 1:49pm UTC](https://forum.inductiveautomation.com/t/official-open-source-opc-ua-server-consistently-faulting/27364 "2020-12-29T13:49:10Z")

</div>

Hi, I am currently running an OPC-UA Server connected to Ignition based on the Boiler Server sample project from the official open-source C# OPCUA repository. After about 10 to 15 minutes of normal function, the connect…

---

## [Ignition Historian DB and migration to the new gateway](https://forum.inductiveautomation.com/t/ignition-historian-db-and-migration-to-the-new-gateway/41813)

<div class="topic-metadata">

**Author:** [@szcz](https://forum.inductiveautomation.com/u/szcz)\
**Replies:** 2\
**Last updated:** [December 29, 2020, 8:28am UTC](https://forum.inductiveautomation.com/t/ignition-historian-db-and-migration-to-the-new-gateway/41813 "2020-12-29T08:28:07Z")

</div>

Hello, I turn to you with question I was not able to find in any sources and I am not alone having this issue (e.g. here: http://forum.inductiveautomation.com/t/migrate-tag-history-data-post-migration-of-windows-tags-…

---

## [Bug - Ignition Designer - Merge Gateway Changes to Open Project - Windows Vision Bug](https://forum.inductiveautomation.com/t/bug-ignition-designer-merge-gateway-changes-to-open-project-windows-vision-bug/41825)

<div class="topic-metadata">

**Author:** [@rob.maisey](https://forum.inductiveautomation.com/u/rob.maisey)\
**Replies:** 6\
**Last updated:** [December 29, 2020, 6:51am UTC](https://forum.inductiveautomation.com/t/bug-ignition-designer-merge-gateway-changes-to-open-project-windows-vision-bug/41825 "2020-12-29T06:51:35Z")

</div>

Ignition Platform 8.1.1 When a newly created window is committed to the gateway from one instance of Ignition Designer, the button to merge changes from the gateway to the open project on a second instance of Ignition D…

---

## [License timeout time on previously licensed copies](https://forum.inductiveautomation.com/t/license-timeout-time-on-previously-licensed-copies/3486)

<div class="topic-metadata">

**Author:** [@AlexW](https://forum.inductiveautomation.com/u/AlexW)\
**Replies:** 3\
**Last updated:** [December 29, 2020, 5:08am UTC](https://forum.inductiveautomation.com/t/license-timeout-time-on-previously-licensed-copies/3486 "2020-12-29T05:08:13Z")

</div>

With the upgrade to 7.3, I upgraded my license on my backup server but forgot to do this on the main server at the end of the day. The end result was I came in the next day and none of the clients would run due to licens…

---

## [Ignition thinks its already 2021 - system.date.format(system.date.now(), "YYYY-MM-dd") prints out 2021-12-28](https://forum.inductiveautomation.com/t/ignition-thinks-its-already-2021-system-date-format-system-date-now-yyyy-mm-dd-prints-out-2021-12-28/41826)

<div class="topic-metadata">

**Author:** [@tmahaffey](https://forum.inductiveautomation.com/u/tmahaffey)\
**Replies:** 1\
**Last updated:** [December 29, 2020, 4:08am UTC](https://forum.inductiveautomation.com/t/ignition-thinks-its-already-2021-system-date-format-system-date-now-yyyy-mm-dd-prints-out-2021-12-28/41826 "2020-12-29T04:08:35Z")

</div>

Here’s my script: system.date.format(system.date.now(), "YYYY-MM-dd") And the output I get 2021-12-28

---

## [How to change mouse script easily](https://forum.inductiveautomation.com/t/how-to-change-mouse-script-easily/41802)

<div class="topic-metadata">

**Author:** [@robertm](https://forum.inductiveautomation.com/u/robertm)\
**Replies:** 6\
**Last updated:** [December 28, 2020, 11:29pm UTC](https://forum.inductiveautomation.com/t/how-to-change-mouse-script-easily/41802 "2020-12-28T23:29:55Z")

</div>

I have found that mouse clicked events dont capture very well. I have many widgets that use popups with passed parameters for indirect tags. Is there a quick way to change mouse clicked script events to mouse pressed e…

---

## [Sepasoft SPC: Can't Schedule Sample Entry with "Once at Production Start/End" Interval](https://forum.inductiveautomation.com/t/sepasoft-spc-cant-schedule-sample-entry-with-once-at-production-start-end-interval/41800)

<div class="topic-metadata">

**Author:** [@iavor.karakashev](https://forum.inductiveautomation.com/u/iavor.karakashev)\
**Replies:** 0\
**Last updated:** [December 27, 2020, 11:33am UTC](https://forum.inductiveautomation.com/t/sepasoft-spc-cant-schedule-sample-entry-with-once-at-production-start-end-interval/41800 "2020-12-27T11:33:16Z")

</div>

I’m trying to trigger sample entry when product code of a machine location changes. I’m using system.production.utils.setLocationProductCode() /.cancelLocationProductCode() to change the product code. The SPC module refl…

---

## [Parameterized UDT Popup Instance Cross-writes to Different UDT](https://forum.inductiveautomation.com/t/parameterized-udt-popup-instance-cross-writes-to-different-udt/38308)

<div class="topic-metadata">

**Author:** [@David5](https://forum.inductiveautomation.com/u/David5)\
**Replies:** 5\
**Last updated:** [December 28, 2020, 8:31pm UTC](https://forum.inductiveautomation.com/t/parameterized-udt-popup-instance-cross-writes-to-different-udt/38308 "2020-12-28T20:31:45Z")

</div>

So we created a pop-up for AB Analog Input block configurations that allows maintenance users to modify the AI block settings (MinEU, MaxEU, Override, Alarms, etc.). Everything worked well for 8 or so months but seems t…

---

## [Momentary PB using a UDT Tag Cannot Write to PLC](https://forum.inductiveautomation.com/t/momentary-pb-using-a-udt-tag-cannot-write-to-plc/41817)

<div class="topic-metadata">

**Author:** [@rrebro](https://forum.inductiveautomation.com/u/rrebro)\
**Replies:** 3\
**Last updated:** [December 28, 2020, 7:55pm UTC](https://forum.inductiveautomation.com/t/momentary-pb-using-a-udt-tag-cannot-write-to-plc/41817 "2020-12-28T19:55:16Z")

</div>

So I have a Momentary PB whose Control Value is pointing to a tag within a UDT that is passed into the object containing the button as a custom property. If I press this button, I cannot receive the input on the PLC end …

---

## [Power table sum column and display](https://forum.inductiveautomation.com/t/power-table-sum-column-and-display/38904)

<div class="topic-metadata">

**Author:** [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Replies:** 2\
**Last updated:** [December 28, 2020, 7:06pm UTC](https://forum.inductiveautomation.com/t/power-table-sum-column-and-display/38904 "2020-12-28T19:06:02Z")

</div>

v8.0.16 vision I have a power table with a column for cost. I want to sum up the rows and display the total cost for all rows. What is the best way to display this, just plop under the corresponding column and setup u…

---

## [\[FEATURE-15193\] Xtrace infobox data from time series chart in perspective](https://forum.inductiveautomation.com/t/feature-15193-xtrace-infobox-data-from-time-series-chart-in-perspective/29018)

<div class="topic-metadata">

**Author:** [@Arulwilliam](https://forum.inductiveautomation.com/u/Arulwilliam)\
**Replies:** 6\
**Last updated:** [December 28, 2020, 4:36pm UTC](https://forum.inductiveautomation.com/t/feature-15193-xtrace-infobox-data-from-time-series-chart-in-perspective/29018 "2020-12-28T16:36:08Z")

</div>

Hi , Is it possible to read Xtrace infobox data from time series chart in perspective? Thanks

---

## [Perspective - Power Chart - Customizing layout](https://forum.inductiveautomation.com/t/perspective-power-chart-customizing-layout/41724)

<div class="topic-metadata">

**Author:** [@hannah.godofsky](https://forum.inductiveautomation.com/u/hannah.godofsky)\
**Replies:** 2\
**Last updated:** [December 28, 2020, 2:19pm UTC](https://forum.inductiveautomation.com/t/perspective-power-chart-customizing-layout/41724 "2020-12-28T14:19:05Z")

</div>

Trying to figure out how to customize the Power Charts in a build to match the colors, layout, logo/watermark as the rest of the app. Ignition 8.0+ Perspective It doesn’t seem like these features really exist? Is there …

---

## [Fixed rate in expression tags](https://forum.inductiveautomation.com/t/fixed-rate-in-expression-tags/41424)

<div class="topic-metadata">

**Author:** [@deforder](https://forum.inductiveautomation.com/u/deforder)\
**Replies:** 2\
**Last updated:** [December 28, 2020, 11:46am UTC](https://forum.inductiveautomation.com/t/fixed-rate-in-expression-tags/41424 "2020-12-28T11:46:13Z")

</div>

I have an expression tag that needs to be recalculated once per second. The expression is very simple (adds the value of another memory tag). I am using a fixed rate 1000ms. But recalculation occurs every 15-20 seconds. …

---

## [Perspective Table With Checkbox column Not Working properly](https://forum.inductiveautomation.com/t/perspective-table-with-checkbox-column-not-working-properly/41801)

<div class="topic-metadata">

**Author:** [@harigobu.gb](https://forum.inductiveautomation.com/u/harigobu.gb)\
**Replies:** 0\
**Last updated:** [December 27, 2020, 12:37pm UTC](https://forum.inductiveautomation.com/t/perspective-table-with-checkbox-column-not-working-properly/41801 "2020-12-27T12:37:01Z")

</div>

Hi, First I’ll brief the requirement and then convey the observed issue. It was a view with input fields, a table, submit and clear confirmation button. On Clear button being pressed the page with input fields and tabl…

---

## [How to stop users from entering in multiple spaces before or after words in a text box](https://forum.inductiveautomation.com/t/how-to-stop-users-from-entering-in-multiple-spaces-before-or-after-words-in-a-text-box/41690)

<div class="topic-metadata">

**Author:** [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Replies:** 12\
**Last updated:** [December 26, 2020, 11:48pm UTC](https://forum.inductiveautomation.com/t/how-to-stop-users-from-entering-in-multiple-spaces-before-or-after-words-in-a-text-box/41690 "2020-12-26T23:48:35Z")

</div>

I have a data entry form, on it I have a text box. I check the box to see if it is blank before it gets inserted into the database. But I want to check to see if there is multiple spaces before and after the words to sto…

---

## [Return Standard Deviation between two or more tags?](https://forum.inductiveautomation.com/t/return-standard-deviation-between-two-or-more-tags/41784)

<div class="topic-metadata">

**Author:** [@sungkhum](https://forum.inductiveautomation.com/u/sungkhum)\
**Replies:** 2\
**Last updated:** [December 25, 2020, 3:50pm UTC](https://forum.inductiveautomation.com/t/return-standard-deviation-between-two-or-more-tags/41784 "2020-12-25T15:50:44Z")

</div>

What’s the best way to return the standard deviation between two or more tags over the last 5 days? I’m able to do this for the standard deviation for individual tags like this: endTime = system.date.now() startTime = …

---

## [How to configure HTTP binding for REST API using authentication and header - Ignition 8.1](https://forum.inductiveautomation.com/t/how-to-configure-http-binding-for-rest-api-using-authentication-and-header-ignition-8-1/41790)

<div class="topic-metadata">

**Author:** [@sharmashubhashish](https://forum.inductiveautomation.com/u/sharmashubhashish)\
**Replies:** 0\
**Last updated:** [December 25, 2020, 11:54am UTC](https://forum.inductiveautomation.com/t/how-to-configure-http-binding-for-rest-api-using-authentication-and-header-ignition-8-1/41790 "2020-12-25T11:54:21Z")

</div>

I am not able to connect to the server when using authentication as a bearer token. I am using Identity Provider to get the token from session variable obtained from redirect url.

---

## [readBytesAsString Error](https://forum.inductiveautomation.com/t/readbytesasstring-error/41788)

<div class="topic-metadata">

**Author:** [@stefan.wang](https://forum.inductiveautomation.com/u/stefan.wang)\
**Replies:** 0\
**Last updated:** [December 25, 2020, 10:18am UTC](https://forum.inductiveautomation.com/t/readbytesasstring-error/41788 "2020-12-25T10:18:17Z")

</div>

Hi there Good day i run system.serial.readBytesAsString() and find that the return value is sometimes incomplete for example: The string Scaned： test123456789 sometime the string returned in value： test12345 or te…

---

## [Invitation to Join New Linkedin Digital Oilfield](https://forum.inductiveautomation.com/t/invitation-to-join-new-linkedin-digital-oilfield/41783)

<div class="topic-metadata">

**Author:** [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Replies:** 0\
**Last updated:** [December 24, 2020, 5:27pm UTC](https://forum.inductiveautomation.com/t/invitation-to-join-new-linkedin-digital-oilfield/41783 "2020-12-24T17:27:46Z")

</div>

I’m hoping that other Oil & Gas people may join this new Linkedin Group and share their “How-To’s” on automating the Oil & Gas industry. This group has just started, so not much activity as of now but maybe we all can …

---

## [Setting Perspective session and page properties](https://forum.inductiveautomation.com/t/setting-perspective-session-and-page-properties/41760)

<div class="topic-metadata">

**Author:** [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Replies:** 8\
**Last updated:** [December 24, 2020, 4:33pm UTC](https://forum.inductiveautomation.com/t/setting-perspective-session-and-page-properties/41760 "2020-12-24T16:33:18Z")

</div>

From the release notes for 8.0.5: Added a session property (appBar.togglePosition) that can be used to set the app bar toggle to positions ‘left’, ‘right’, or ‘hidden’. Also added a page property (appBarVisible) that c…

---

## [Sql does not update](https://forum.inductiveautomation.com/t/sql-does-not-update/41775)

<div class="topic-metadata">

**Author:** [@jay.meinke](https://forum.inductiveautomation.com/u/jay.meinke)\
**Replies:** 4\
**Last updated:** [December 24, 2020, 2:53pm UTC](https://forum.inductiveautomation.com/t/sql-does-not-update/41775 "2020-12-24T14:53:48Z")

</div>

INSERT INTO LineDTL3 (L3H1, L3H2, L3H3, L3H4, L3H5, L3H6, LineID, EmployeeID, DRNum, TruckNum, DateTimeInput, CT) VALUES (:L3H1, :L3H2, :L3H3, :L3H4, :L3H5, :L3H6, :LineID, :EmployeeID, :DRNum, :TruckNum, :DateTimeInput,…

---

## [How to Create API send data to external system?](https://forum.inductiveautomation.com/t/how-to-create-api-send-data-to-external-system/41748)

<div class="topic-metadata">

**Author:** [@soontosr](https://forum.inductiveautomation.com/u/soontosr)\
**Replies:** 5\
**Last updated:** [December 24, 2020, 3:12am UTC](https://forum.inductiveautomation.com/t/how-to-create-api-send-data-to-external-system/41748 "2020-12-24T03:12:00Z")

</div>

Hi sir i need to send tag value to external system. how to create api url from igntion? thank you

---

## [How to change the project directory?](https://forum.inductiveautomation.com/t/how-to-change-the-project-directory/25257)

<div class="topic-metadata">

**Author:** [@kyle\_dar](https://forum.inductiveautomation.com/u/kyle_dar)\
**Replies:** 4\
**Last updated:** [December 24, 2020, 1:41am UTC](https://forum.inductiveautomation.com/t/how-to-change-the-project-directory/25257 "2020-12-24T01:41:58Z")

</div>

Hello, everyone. How to change the project directory? I’d like to save project data to another partition rather than the default one, but I don’t know how. Any help will be appreciated.

---

## [Script Running on Gateway or Client](https://forum.inductiveautomation.com/t/script-running-on-gateway-or-client/41768)

<div class="topic-metadata">

**Author:** [@WillMT10](https://forum.inductiveautomation.com/u/WillMT10)\
**Replies:** 5\
**Last updated:** [December 23, 2020, 11:05pm UTC](https://forum.inductiveautomation.com/t/script-running-on-gateway-or-client/41768 "2020-12-23T23:05:23Z")

</div>

I feel like there is a simple solution for this that I’m missing. Is there a way to detect from within a script if it is currently being executed in the Client vs in a Gateway script? I have a project script module for…

---

## [UDTs with nested UDT instances -\> efficiency](https://forum.inductiveautomation.com/t/udts-with-nested-udt-instances-efficiency/41762)

<div class="topic-metadata">

**Author:** [@mathieurleblanc33](https://forum.inductiveautomation.com/u/mathieurleblanc33)\
**Replies:** 2\
**Last updated:** [December 23, 2020, 9:15pm UTC](https://forum.inductiveautomation.com/t/udts-with-nested-udt-instances-efficiency/41762 "2020-12-23T21:15:42Z")

</div>

Hi, I am wanting to utilize the power of UDTs. I currently have a UDT “Bay” that contains UDT instances that contains UDTs that contain UDT instances… etc (complex hierarchy). When I do a Json extract of the UDT, I g…

---

## [What transaction Group type to use for such purpose?](https://forum.inductiveautomation.com/t/what-transaction-group-type-to-use-for-such-purpose/41767)

<div class="topic-metadata">

**Author:** [@dtran](https://forum.inductiveautomation.com/u/dtran)\
**Replies:** 3\
**Last updated:** [December 23, 2020, 9:06pm UTC](https://forum.inductiveautomation.com/t/what-transaction-group-type-to-use-for-such-purpose/41767 "2020-12-23T21:06:53Z")

</div>

Let’s say I have 2 tags val1 and val2, both initiated with value of 5. val1 changes value at 00:00 and again at 00:10, then val2 changes value at 00:20. I will then have this table at Database: |time\_stamp | val1 | val2…

---

## [Disabling thousands of unused tags](https://forum.inductiveautomation.com/t/disabling-thousands-of-unused-tags/41764)

<div class="topic-metadata">

**Author:** [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Replies:** 3\
**Last updated:** [December 23, 2020, 7:54pm UTC](https://forum.inductiveautomation.com/t/disabling-thousands-of-unused-tags/41764 "2020-12-23T19:54:06Z")

</div>

Someone in our organisation - culprit yet to be identified - has created a project and imported all the PLC tags - 35,184 of them - into the project. They’re probably only using a couple of hundred. There are a couple mo…

---

## [Clearing an Array](https://forum.inductiveautomation.com/t/clearing-an-array/41745)

<div class="topic-metadata">

**Author:** [@beter.dev](https://forum.inductiveautomation.com/u/beter.dev)\
**Replies:** 10\
**Last updated:** [December 23, 2020, 7:34pm UTC](https://forum.inductiveautomation.com/t/clearing-an-array/41745 "2020-12-23T19:34:51Z")

</div>

Hi Guys, I have a table in a view and I bind its Data property via a Tag History binding using an expression. The expression simply returns an array which I have as a custom property on the table. In the table startup …

---

## [Perspective table column background color not working](https://forum.inductiveautomation.com/t/perspective-table-column-background-color-not-working/41761)

<div class="topic-metadata">

**Author:** [@chandler](https://forum.inductiveautomation.com/u/chandler)\
**Replies:** 3\
**Last updated:** [December 23, 2020, 7:26pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-background-color-not-working/41761 "2020-12-23T19:26:39Z")

</div>

Hi, I am trying to change the color of my columns in a table using the style property of each column configuration object, but when I add a background color nothing changes. Any ideas on what I could be doing wrong? Th…

[Previous page](https://forum.inductiveautomation.com/latest.md?page=1246)

[Next page](https://forum.inductiveautomation.com/latest.md?page=1248)
