I’m trying to edit a nested UDT property from a script, in 8.1.9. I’m simply trying to enable this nested udt instance. Here is an example of what I’m trying to do.
path = '[myprovider]myfirstudt/mysecondudt'
parent_path = '[myprovider]myfirstudt'
config = system.tag.getConfiguration(path, False)
config[0]['enabled'] = True
system.tag.config(parent_path, config)
After I run my script, the nested UDT remains disabled, but the strange thing is when I run a script to retrieve it’s configuration, enabled is still set to True.
Thanks in advance.