in Ignition 7.9 in udt and tags xml files, we could use path=“types/myFolder”
in the balise :
Tag name="%s" path=“types/myFolder” type="UdtType"
In ignition 8.0, path in tag balise seems to be ignored :
Tag name=“typeAvecPath2” path=“types/monDossier” type="UdtType"
is it intentional or a bug ?
It definitely should not be ignoring the path. Exactly what is happening in your case after xml import?
I’ve tried an absolute path with path =
I select in the tag browser : Tags/Data Types and imports tags and the override option.
I’ve tried with creating or not the folder before the import.
In both case the udt is created in the root of Data Types folder and ignore the path mentioned.
<Tag name="typeAvecPath2" path="_types_/myFolder" type="UdtType">
<Property name="New Parameter" type="String">test</Property>
<Tag name="memoryText" type="AtomicTag">
Was this tag export taken from an 8.0.0 beta release by chance? The 8.0 xml export code was refactored before 8.0 release to no longer use paths. 7.x tag xml exports do use paths, and they should be able to import without issues. I did find that even if you set up the udt properly in the designer, then export to xml, then delete and import again, you get a “Tag Exists” error that should not occur. I have filed a ticket to fix that.
I generate xml tags/udts file for import in 7.9 and I had found convenient not having to create folders…
So I tried to generated some xml file for Ignition 8.0. I manually added path for test.
As this is no supported in the new xml format, I will suppress the path and add explicitly the folders in the xml file I will generate for 8.0.
Just another question,
Is it mandatory to group all udt to create inside a folder :
or can we do as well :
No, you do not have to have group UDTs inside a folder. Your latter example should work.
This issue was fixed in the 8.0.4 Nightly build that was uploaded today (7/26).