Ignition 7.6.2
When a folder of UDT’s is exported, it does not import correctly. This is because when it is exported, Ignition doesn’t include the path for the folder. When it is imported it doesn’t put the folder in Data Types, it puts it in Tags. Below are examples that have the UDTs trimmed to one tag.
This creates a folder called Unit in the Tags folder. The UDT Unit_Charts is created, but not shown because the folder doesn’t exist. This can be shown if there is an instance of that data type. If it exists, count_T is shown in the instance.
<Tags>
<Tag name="Unit" path="" type="Folder"/>
<Tag name="Unit_Charts" path="Unit" type="UDT_DEF">
<Property name="Value"/>
<Property name="DataType">2</Property>
<Tag name="count_T" path="" type="DB">
<Property name="Value"/>
<Property name="DataType">2</Property>
<Property name="ExpressionType">1</Property>
<Property name="Expression">{[.]/../../counts/LOG_DELTA}</Property>
</Tag>
</Tag>
</Tags>
The xml files can be edited to change the folder path to “types”. The folder is then created in the Data Types folder.
<Tags>
<Tag name="Unit" path="_types_" type="Folder"/>
<Tag name="Unit_Charts" path="Unit" type="UDT_DEF">
<Property name="Value"/>
<Property name="DataType">2</Property>
<Tag name="count_T" path="" type="DB">
<Property name="Value"/>
<Property name="DataType">2</Property>
<Property name="ExpressionType">1</Property>
<Property name="Expression">{[.]/../../counts/LOG_DELTA}</Property>
</Tag>
</Tag>
</Tags>