MQTT Engine - Change history configuration

Hello, good morning.

I'm trying change the history configuration in an UDT in MQTT Engine, I'm using a script, but I have this error: [Bad_AccessDenied("Insufficient Tag Provider Edit Permissions")]. I don't understand why, because I can change the configuration manually.

Can you help me to enabled the access?

Thank you.
Best regards.

Change your designer to read/write tags.
image

Hello. I checked this before post and I have this option enabled. Thanks.

The MQTT Engine is a read-only tag provider. I typically use reference tags inside a UDT on a local tag provider to reference the tags in MQTT Engine and to set the local history configuration. If you need to change the history configuration on the MQTT Engine UDT, I believe you need to modify the history configuration on the MQTT transmission side, but honestly, you're better off using the reference tags and UDTs on a local tag provider instead which will give you full control.

Hello Michael, but if I go to change manually in the UDT I can change the history:

I want do the same but using a script to spend less time. Is it possible?

Thank you.

I would reach out to CirrusLink support in this case. I was under the assumption those UDTs were read-only, and I suspect that if you do modify them, that you could run the risk that an MQTT Transmission publish/birth message could overwrite those back to defaults.

Hello.

I need this for Store and Forward between Ignition Edge (with MQTT Transmitter) and Main Ignition (with MQTT Engine). For Store and Forward, is it necessary history in MQTT Engine for a good functionality or is it possible other way?

Thank you.
Best regards.

I need do this, but I want use a scripting because I have a lot of tags:

Hello.

I did some modifications in the code and now it’s working, but in some case a I has enabled the history in the tag manually.

Thank you.
Best regards.