# Scripting - export tags by function

**URL:** <https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193>\
**Category:** Ignition\
**Created:** [December 1, 2017, 7:01pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193 "2017-12-01T19:01:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [December 1, 2017, 7:01pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/1 "2017-12-01T19:01:16Z")

</div>

I notice there’s a function “system.tag.loadFromFile”, however I don’t think there is a “loadToFile” type function. Is there any good way to do this? Backup specific tags from scripting?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [December 1, 2017, 8:52pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/2 "2017-12-01T20:52:18Z")

</div>

Doesn’t solve your immediate problem, but we’re looking to put a system.tag.exportXML() in a version coming up pretty soon. No timeline yet, but definitely before Ignition 8.

---

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [July 23, 2018, 1:33pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/3 "2018-07-23T13:33:17Z")

</div>

Any update on this new function?

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [August 10, 2018, 3:51pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/4 "2018-08-10T15:51:02Z")

</div>

I would also like to know if there is any update on this.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 10, 2018, 4:00pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/5 "2018-08-10T16:00:07Z")

</div>

No update yet - it’s still on our backlog for 7.9, but hasn’t been picked up yet.

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [August 10, 2018, 4:24pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/6 "2018-08-10T16:24:39Z")

</div>

Thanks for the response. We will be waiting… 🙂

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [January 15, 2019, 7:27pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/7 "2019-01-15T19:27:27Z")

</div>

Bump. Any updates on this?

---

<div class="post-metadata">

**Author:** ![kylehoxi](https://avatars.discourse-cdn.com/v4/letter/k/77aa72/32.png) [@kylehoxi](https://forum.inductiveautomation.com/u/kylehoxi)\
**Post date:** [August 28, 2019, 4:27pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/8 "2019-08-28T16:27:13Z")

</div>

Any update yet? This could be extremely helpful for an issue I am trying to solve.

---

<div class="post-metadata">

**Author:** ![FrankP](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@FrankP](https://forum.inductiveautomation.com/u/FrankP)\
**Post date:** [May 27, 2020, 2:57pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/9 "2020-05-27T14:57:05Z")

</div>

Same here. Us LTS users need some love…

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 27, 2020, 5:58pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/10 "2020-05-27T17:58:10Z")

</div>

Well, the original ticket I mentioned ~3 years ago has since been closed and 7.9 is now in ‘critical bug fixes only’ mode, so it’s pretty much guaranteed this isn’t coming to 7.9, unfortunately. That said, a _new_ LTS version might be coming sooner than you think…

---

<div class="post-metadata">

**Author:** ![FrankP](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@FrankP](https://forum.inductiveautomation.com/u/FrankP)\
**Post date:** [June 16, 2020, 6:58pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/11 "2020-06-16T18:58:46Z")

</div>

A new LTS will be nice, though we are currently implementing a large, multi-spoke project for a client using 7.9 and will not be able to upgrade to 8.X for this any time soon due to many compatibility and logistic issues to do so.

Is there any workaround or method to this? A way to generate the XML output ourselves? Or any chance of classifying this as a bug? It would seem that implementing the script import but not the script export is a bug, as obviously these go hand-in hand as a single feature- It’s like write-only memory otherwise 😉

Thanks!

---

<div class="post-metadata">

**Author:** ![FrankP](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@FrankP](https://forum.inductiveautomation.com/u/FrankP)\
**Post date:** [June 23, 2020, 10:28pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/12 "2020-06-23T22:28:37Z")

</div>

Thought I should ask @pturmel, he always seems to have cool scripts and know-how!

Mr. Turmel, do you have any neat scriptable tricks for creating an importable XML backup of tags via scripting? Or maybe something I can start from?

Thanks!

---

<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:** [June 24, 2020, 2:07am UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/13 "2020-06-24T02:07:44Z")

</div>

Sorry, no.

---

<div class="post-metadata">

**Author:** ![FrankP](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@FrankP](https://forum.inductiveautomation.com/u/FrankP)\
**Post date:** [March 4, 2021, 3:16pm UTC](https://forum.inductiveautomation.com/t/scripting-export-tags-by-function/16193/14 "2021-03-04T15:16:19Z")

</div>

Please upvote on [https://inductiveautomation.canny.io/ignition-features-and-ideas/p/ignition-79-python-function-for-tag-export](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/ignition-79-python-function-for-tag-export)
