# Importing XML Tags loses Permissions data

**URL:** <https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491>\
**Category:** Ignition\
**Created:** [September 21, 2015, 8:48pm UTC](https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491 "2015-09-21T20:48:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turmammal](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@Turmammal](https://forum.inductiveautomation.com/u/Turmammal)\
**Post date:** [September 21, 2015, 8:48pm UTC](https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491/1 "2015-09-21T20:48:49Z")

</div>

When importing tags via XML the changes to the “Permissions” aren’t passed through.

below is the unedited export from Ignition which does not change the Permissions appropriately on import.

 2 \_AO 

the UDT has a different set of Permissions which should be changed based on the above import.

---

<div class="post-metadata">

**Author:** ![acooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/acooper/32/4221_2.png) [@acooper](https://forum.inductiveautomation.com/u/acooper)\
**Post date:** [September 21, 2015, 10:50pm UTC](https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491/2 "2015-09-21T22:50:35Z")

</div>

I am unable to replicate this behavior. Which version of Ignition are you running? Did you have the access rights set to override the UDT when you exported this tag? If not, it will adapt to the settings of the parent UDT. Is it possible that that’s what’s happening? It also appears that you are missing the section that should look like the following:

2

Do you have the access rights set to custom when you configure permissions?

---

<div class="post-metadata">

**Author:** ![Turmammal](https://avatars.discourse-cdn.com/v4/letter/t/977dab/32.png) [@Turmammal](https://forum.inductiveautomation.com/u/Turmammal)\
**Post date:** [September 22, 2015, 1:16pm UTC](https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491/3 "2015-09-22T13:16:11Z")

</div>

I am on version 7.7.5

The UDT has the access rights set to custom, but to be sure I also appended that line to see if it would make a difference and it does not.

The above code was a direct copy of the export from Ignition after changing the Permissions in the Designer.  
If I export it as a csv instead of xml then it works fine and changes the Permissions accordingly upon import.

---

<div class="post-metadata">

**Author:** ![acooper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/acooper/32/4221_2.png) [@acooper](https://forum.inductiveautomation.com/u/acooper)\
**Post date:** [October 14, 2015, 5:52pm UTC](https://forum.inductiveautomation.com/t/importing-xml-tags-loses-permissions-data/10491/4 "2015-10-14T17:52:05Z")

</div>

When you say append, does that mean you put that AccessRights line at the end? If so, could you try adding it after the DataType line? Could you re-export and attach the XML?
