# \[BUG-13984\] Xml import in Ignition 8, parameter path to create folder

**URL:** <https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [May 22, 2019, 2:05pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227 "2019-05-22T14:05:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 22, 2019, 2:05pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/1 "2019-05-22T14:05:48Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [May 22, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/2 "2019-05-22T14:57:49Z")

</div>

It definitely should not be ignoring the path. Exactly what is happening in your case after xml import?

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 22, 2019, 3:13pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/3 "2019-05-22T15:13:26Z")

</div>

@mgross  
I’ve tried an absolute path with path = `_types_/myFolder`  
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.

```auto
<Tags MinVersion="8.0.0">
   <Tag name="typeAvecPath2" path="_types_/myFolder" type="UdtType">
      <Property name="typeId"></Property>
      <Property name="tagGroup">mesd01</Property>
      <Parameters>
         <Property name="New Parameter" type="String">test</Property>
      </Parameters>
      <Tags MinVersion="8.0.0">
         <Tag name="memoryText" type="AtomicTag">
            <Property name="valueSource">memory</Property>
            <Property name="dataType">10</Property>
            <Property name="formatString">#,##0.##</Property>
         </Tag>
      </Tags>
   </Tag>
</Tags>

```

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [May 22, 2019, 4:46pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/4 "2019-05-22T16:46:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 22, 2019, 5:56pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/5 "2019-05-22T17:56:16Z")

</div>

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 :

Folder A  
udt A  
udt B  
udt C  
Folder D  
udt D

or can we do as well :

Folder A  
udt A  
Folder A  
udt B  
Folder A  
udt C  
Folder D  
udt D

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [May 22, 2019, 10:45pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/6 "2019-05-22T22:45:33Z")

</div>

No, you do not have to have group UDTs inside a folder. Your latter example should work.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [July 26, 2019, 3:34pm UTC](https://forum.inductiveautomation.com/t/bug-13984-xml-import-in-ignition-8-parameter-path-to-create-folder/25227/7 "2019-07-26T15:34:27Z")

</div>

This issue was fixed in the 8.0.4 Nightly build that was uploaded today (7/26).
