# Upgrade Tags in deployement, without updating values

**URL:** <https://forum.inductiveautomation.com/t/upgrade-tags-in-deployement-without-updating-values/40707>\
**Category:** Ignition\
**Created:** [November 16, 2020, 9:17pm UTC](https://forum.inductiveautomation.com/t/upgrade-tags-in-deployement-without-updating-values/40707 "2020-11-16T21:17:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hulix\_Michael](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hulix_michael/32/15544_2.png) [@Hulix\_Michael](https://forum.inductiveautomation.com/u/Hulix_Michael)\
**Post date:** [November 16, 2020, 9:17pm UTC](https://forum.inductiveautomation.com/t/upgrade-tags-in-deployement-without-updating-values/40707/1 "2020-11-16T21:17:31Z")

</div>

Hi, is-there a simple way to import tags without overwriting values? As an example, I do some modifications in Dev’s tags, I export all my tags from dev to make sure I don’t forget one and finally I import those tags in Prod (with a merge overwrite). This process replace all the values in prod by the values from dev…this is not what I want. I want to keep the prod values where one exist.

the only ways I see to fix this is by “manually” remove all the lines “value” from the .json file, it is ok for couples of tags, but not fun at all when you get hundreds of tags.

thanks for your help

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 16, 2020, 9:26pm UTC](https://forum.inductiveautomation.com/t/upgrade-tags-in-deployement-without-updating-values/40707/2 "2020-11-16T21:26:19Z")

</div>

It would be pretty easy to parse the json and remove the value property from it. Have a look at my post below for an example. The script in there will convert opc tags to memory and back again, but you could just as easily remove the value property instead. It works with json copied to the clipboard.

> [@Reading PLC tags offline](http://forum.inductiveautomation.com/t/reading-plc-tags-offline/40596/3):
>
> If I don’t have a PLC but I have the project, most of our tags are within UDTs which are already developed, so these are fairly easy to create manually or using a tool that takes in a list of instance names and parameters and creates the udt instances for me. Without a PLC, in v8, you can convert tags between opc and memory without any information being removed (this wasn’t in the case in v7). I use this script, just copied into the script console, to convert tag json copied into the clipboard…

---

<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:** [November 16, 2020, 9:38pm UTC](https://forum.inductiveautomation.com/t/upgrade-tags-in-deployement-without-updating-values/40707/3 "2020-11-16T21:38:03Z")

</div>

[`jq`](https://stedolan.github.io/jq/) is an option, if you’re reasonably comfortable on the command line - and as a bonus, could be readily attached to a script to run repeatedly.
