Writing to Client tags in a client timer or gateway timer script

Are there any quirks to the Client tags that make it difficult to write to them inside either a gateway timer or client timer script? This short script works in the script console but when we try to transition to either a client timer script or gateway timer script, it doesn’t work. It says the script is successful on the gateway status page but no actual changes take place.

filter = system.tag.read("[Client]NavFilter")
set = project.navigation.windowPaths(filter.value)
system.tag.write("[Client]NavItems", set)

Any ideas?

It definitely won’t work with a gateway timer script – client tags are only in the client.
The return value from system.tag.write should give you more information. By design, .write() doesn’t throw errors.

1 Like