Duplicate Tag in Gateway, Gap in Tag Browser

I had something strange happen - I wanted to create a tag so I copied and pasted a tag and renamed it as 5X_63102_AI3231 (let’s call this instance Tag1 for discussion). I didn’t see the new 5X_63102_AI3231 tag so I did another copy/paste/rename. I did see that one (call this instance Tag2). Then I created a reference tag to 5X_63102_AI3231 and the reference tag was showing a different number than the visible 5X_63102_AI3231 (instance Tag2). When I went to look at the tags in the gateway, I saw there are two instances of 5X_63102_AI3231 so the reference tag must have been looking at the first instance (Tag1) even though it’s not visible in the Designer. I also noticed in the Tag Browser in the Designer, I can see a gap just before 5X_63102_AI3231 (Tag2), which must be where the Tag1 instance is. Note that I have closed the gateway, and also restarted the Designer and even waited overnight hoping it might timeout or something. Has anyone seen this and know any way to delete the invisible tag (Tag1)?

Hi Jennifer, you could try doing the following:

  • Try exporting the folder with the tags by right clicking the folder > Export and save it in json format.

  • locating the entry for the invisible instance(tag1) and carefully deleting the json block associated as well as the empty space with it using notepad ++.

  • Go back to the designer and delete the existing visible instance tag2 and (any empty space if it exists and didn’t delete it in step 2).

  • Re-import the modified tags into the tag browser