# \[BUG\] 8.1.7 Copying tags between UDT definitions is dodgy

**URL:** <https://forum.inductiveautomation.com/t/bug-8-1-7-copying-tags-between-udt-definitions-is-dodgy/48243>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 27, 2021, 4:46am UTC](https://forum.inductiveautomation.com/t/bug-8-1-7-copying-tags-between-udt-definitions-is-dodgy/48243 "2021-06-27T04:46:16Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [June 27, 2021, 4:46am UTC](https://forum.inductiveautomation.com/t/bug-8-1-7-copying-tags-between-udt-definitions-is-dodgy/48243/1 "2021-06-27T04:46:16Z")

</div>

Picked this one up due to this:

> [@\[FEATURE\] Perspective - Please allow adding tags to UDTs with tag json via Tag Browser again](http://forum.inductiveautomation.com/t/feature-perspective-please-allow-adding-tags-to-udts-via-tag-browser-again/48236):
>
> 2276: Add New Tag and Add New Data Type options are not working in UDT definition from Tag Browser New Tag action will only show allowed Tag Types for the current destination. Adding tags to a UDT through the Tag Browser is no longer allowed and should be done through the Tag Editor. This is extremely frustrating, this was one of the greatest things in v8! I could simply create my json (for example table in excel with conversion to json) and then copy right into the UDT in the tag browser…

@KathyApplebaum  
When copying tags from one UDT to another using the Tag Editor, it's super dodgy. I copied a folder of reference tags and they pasted as memory tags with none of the configuration of the tags that I copied from.  
Thankfully you can still copy tags using the tag browser between UDT definitions!!! (please don't remove this option)

Examples attached. Import both UDT definitions and then copy the 'Alarmss' folder from 'COPY FROM' UDT def into the 'COPY TO', apply, and look compare the tag types. I don't know if anything else is amiss..

[tags-UDT Def-COPY TO.json](https://forum.inductiveautomation.com/uploads/short-url/xUhfdZgHWkgxxgBULHVoJHGJi5b.json) (394 Bytes)  
[tags-UDT Def-COPY FROM.json](https://forum.inductiveautomation.com/uploads/short-url/6wV3u5MtrReooBAwAMVL21GpHxa.json) (1.1 KB)

Copied this Alarmss folder:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/b/bbdd8a7881055cb436ebae07727a5aa61d6f8468.png)

To here:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e366db2af08844d2ba0009ef9cabd00202a1f57.png)

and they're copied as memory tags...  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/8/f89152a89c8bc86d230a1a454b81392abba9cf00.png)

Looks like nearly everything is missing from the tag config apart from the name of the tag...  
Using notepad++ compare below of left side = COPY FROM and right side = COPY TO.  
From the screenshot, you can clearly see that all the alarm config is missing, the reference source tag binding is missing, the only thing in tact are the **name** and **tagType** params which are suspiciously the same as what you get back when you copy the json of a UDT instance.... the stuff at the top in green is ok, that was there in COPY TO template already

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/9/19b1574f6667fd11bd80189c5cb50c51d5d695e1.png)
