# Exporting Tags with all properties

**URL:** <https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663>\
**Category:** Ignition\
**Created:** [September 7, 2024, 1:14am UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663 "2024-09-07T01:14:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Achan](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Ravi\_Achan](https://forum.inductiveautomation.com/u/Ravi_Achan)\
**Post date:** [September 7, 2024, 1:14am UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663/1 "2024-09-07T01:14:39Z")

</div>

Hi, I want to export tags with all their properties, either XML or JSON will do. I have a lot of OPC tags, which each have the properties I want to export. Most of these tags are derived from UDTs.

When I export the tags they look like this

```python
<Tag name="SiteWiring" type="AtomicTag"> </Tag>

```

I want the tag name plus all its properties, the value, dataType, opcItemPath etc. I can see that this possible but can't find any documentation on it. Any help would be very much appreciated!

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 7, 2024, 11:41am UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663/2 "2024-09-07T11:41:26Z")

</div>

How did you export them ?  
A standard right click -\> export should allow you to get what you want, I'm not quite sure how you'd end up with a simple list of tags without any of their properties... Though I always exported to json, never xml, it would seem rather strange to me that the xml version would contain less data than the json one.

---

<div class="post-metadata">

**Author:** ![Ravi\_Achan](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Ravi\_Achan](https://forum.inductiveautomation.com/u/Ravi_Achan)\
**Post date:** [September 7, 2024, 12:50pm UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663/3 "2024-09-07T12:50:33Z")

</div>

It’s the same with either JSON or XML, I do get some properties when I export tags that are not instances of any of our UDTs. So I assumed there was some setting in the UDT that restricts the properties of an instance being exported… But have not had luck with finding what that is

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 7, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663/4 "2024-09-07T15:44:32Z")

</div>

Ignition has always exported only properties that differ from that property's default value. Otherwise, exports would be bloated by the many dozens of properties that aren't always used.

If you want to obtain the defaults for properties, there are java SDK interfaces that will help you, but do not have formal `system.*` jython APIs. The set of possible properties varies with installed modules, and can vary by tag provider. If you'd like to explore the possibilities, my latest Exchange resource enumerates them for use in the Perspective implementation of the Tag Report Tool:

> [@Tag Report Utility](https://forum.inductiveautomation.com/t/tag-report-utility/95299):
>
> New resource just uploaded to the Exchange (pending review). Also available here: [https://www.automation-pros.com/TagReportUtility/](https://www.automation-pros.com/TagReportUtility/) I intend to publish at this link as well as in the Exchange going forward. Announcements will be in this topic. (: Highlights: Provides a Perspective Popup View that provides a user interface to system.tag.query() that entirely replicates the functionality of the Designer's Tag Report Tool. Provides a Perspective Embedded View that provides Time Span selectio…

Look at the library function `exchange.tagReportUtility.providers.getProviderProperties(...)` for the technique required.

---

<div class="post-metadata">

**Author:** ![Ravi\_Achan](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Ravi\_Achan](https://forum.inductiveautomation.com/u/Ravi_Achan)\
**Post date:** [September 14, 2024, 2:44pm UTC](https://forum.inductiveautomation.com/t/exporting-tags-with-all-properties/95663/5 "2024-09-14T14:44:42Z")

</div>

For future reference, I got most of the results I needed from using the Tag Report tool, adding columns for the properties I required, exporting to .csv and then converting that file to the desired format
