Hi,
Looking at the example for exportTags (system.tag.exportTags | Ignition User Manual), I see it's suppose to export UDT definitions along with tags. How would I use this to only export UDT definitions, and better yet, loop through all UDTs exporting them one at a time to their own files?
Thanks,
Kevin
UDTs are in the _types_
folder, so using that as your filepath would give you only UDTs.
tagPaths = ["[provider]_types_"]
You can you system.tag.browse() to find all UDTs then loop through them to export each as a separate file.
Depending on what you would like to do, you could also use the Tag CICD module to export to individual files
Ha, thanks @jreynolds1 you beat me to it....I just stumbled across the types folder!
Tag CICD module looks very cool.