Cannot write to tag in /Client folder

I'm using Ignition 7.9.17 with the WebDev module.

I have created a doPost() method using the WebDev module.
However, it does not write to the amr_ready tag in the /Client folder.
I have confirmed that writing to the amr_ready tag (the line highlighted in the image below) works with the Script Console.
I have also confirmed that the doPost() method is receiving data properly.
Why is this?

image

Client tags are just that... tags used in a client. The WebDev runs on the Gateway not in a client so it doesn't have access to tags in the client.

You will need to use a regular gateway memory tag for this operation.

1 Like

I see.
So the reason I created a tag in /Client is because I couldn't export other folder tags with the project (Cannot write to tag in /Client folder - #2 by bschroeder).

The goal I have in mind is to provide a file to a colleague who can then use the gateway/project modifications I have done.
Would the best solution here be to create a gateway tag, then create a backup and share the backup with my colleague?

I also read that backups don't include modules. Is there a way to include modules as well?

You will need to create a gateway tag to make the webdev call work.

As far as a backup, like I referenced in the other post if you want all the tags and the project then a gateway backup is the way to go.

As far as modules according to the manual: Gateway Backup and Restore - Ignition User Manual 8.1 - Ignition Documentation modules are not included. So the best way to accomplish that would be to simply share a screen shot of your module list and their versions for your other colleague to match.

@Kavi_Sen be careful - a backup is everything. It's the whole Ignition Gateway, and restoring it replaces whatever they have with whatever is in the backup.

Thank you.

I'll keep this in mind.
Is there an easier way to share modules than what bschroeder recommended (sharing a screenshot of the modules list)?

You don't normally need to share modules. Is there any reason to expect this person to not have the standard modules installed?

They would install Ignition and then need to install the WebDev module as it is not a standard module in 7.9.17. It would just be easier if the backup file also contained the module so they don't need to go through the extra step of downloading and installing the module.

Module install/uninstall is extremely disruptive to a installation. And, for IA-supplied modules, closely tied to the platform version. Don't hold your breath waiting for them to be included in backup files.

1 Like