# Import/export memory tag

**URL:** <https://forum.inductiveautomation.com/t/import-export-memory-tag/58606>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 19, 2022, 7:36pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606 "2022-04-19T19:36:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zzeng2](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zzeng2](https://forum.inductiveautomation.com/u/zzeng2)\
**Post date:** [April 19, 2022, 7:36pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/1 "2022-04-19T19:36:02Z")

</div>

I don’t know if any one agrees with me, but I think there should be an option for ignoring overriding values for memory tags when importing a bunch of tags. The reason is that in situations where I send tags from the dev instance to prod instance, the memory tag values are usually different between the two and I do not wish to override values in the prod instance. Currently I don’t know of any convenient ways to do this.

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 19, 2022, 7:43pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/2 "2022-04-19T19:43:17Z")

</div>

What changes are you making to the tags in the dev environment?  
You could probably use [system.tag.configure](https://docs.inductiveautomation.com/display/DOC81/system.tag.configure) to script your changes instead of exporting/importing.

---

<div class="post-metadata">

**Author:** ![zzeng2](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zzeng2](https://forum.inductiveautomation.com/u/zzeng2)\
**Post date:** [April 19, 2022, 8:03pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/3 "2022-04-19T20:03:24Z")

</div>

yeah, I can probably use that. But I am looking for a more convenience way.

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 19, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/4 "2022-04-19T20:05:11Z")

</div>

I don’t see one, everything i tested changed the tag values.

---

<div class="post-metadata">

**Author:** ![zzeng2](https://avatars.discourse-cdn.com/v4/letter/z/3bc359/32.png) [@zzeng2](https://forum.inductiveautomation.com/u/zzeng2)\
**Post date:** [April 20, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/5 "2022-04-20T16:45:46Z")

</div>

what I did was exporting the tags into a JSON file and programmatically remove all key-value pairs with the “value” key. then import the file back using merge policy.

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 20, 2022, 5:56pm UTC](https://forum.inductiveautomation.com/t/import-export-memory-tag/58606/6 "2022-04-20T17:56:45Z")

</div>

That worked? When i tried that i got null for value.

Edit:  
Actually you are right, that does work.
