[IGN-2678] Tag import error when importing empty folder: Exception: Error importing tags: Udt definitions can only be imported in the UDT Definitions tab

v8.1.5

I’m trying to copy tags from one gateway to another by export/import tags, but for some reason I’m getting this error when trying to import standard (non-UDT type) tags… There isn’t even a "tagType": "UdtType" in the tag json so I have no idea why I would be getting this error?

For giggles, I tried importing them into the UDT Definitions and get the same error :rofl:

Found it… It’s a bug: Empty folders can’t be imported. I’m sure I’ve seen this before but couldn’t remember the issue.

Good catch - we’re already tracking this internally. It looks like the import process is getting some revamping and cleanup, so in addition to fixing this bug you’ll get some extra functionality. Should land ~soon.

Still seeing this one in v8.1.45 :confused: If the error wasn't completely irrelevant it would be ok, but it sends you on a goose chase until you finally realise that it's just the empty folders that it's failing on..

Bug ticket is still pending :frowning_face:

In Version 8.3.1 of the igntion Edge designer I have a similair isseu.

I need to update about 160 Tags in aUDT where the devicename need to be replaced by the “{InstanceName}”.

I export all the tags in the UDT using the export function, using Visual Studio to change the name of the device to {InstanceName} in the exportfile and after safe try to import it again in the UDT.

Tag errors occurred during tag import
Error_Exception("Error importing tags: Only Udt definitions can be imported into the UDT Definitions tab.")

Found part of my isseu.

I connect replace the device name directly with the binding, as this is a bind type adjustment.

but it is annoying I cannot “find and replace” nor adjust these types easily.

What would be the best option to perform this replacement on UDT?