i will not manually add 250+ tags to my UDT through the UI. that's just . when i import an edited list, i get the following error:
when i export an existing tag list and try to import it immediately, with no changes, i get the exact same error. if i copy an existing UDT, export its tags, edit, and attempt to import: same error. regardless of combination: import yeilds error. i also noted that i cannot import from the context menu, but must use the little hamburger in the top left:
I don't think you can import tags into the UDT definitions. The contextual menu is in "context" to UDT definitions. While the other assumes tag's are tag's as it is a standard menu.
Are you trying to modify the UDT definition by "importing" the list of internal tags?
Honestly I kind of wish that worked. As it is, you might be better off copying JSON, modifying that in your favorite macro-enabled text editor/shell script, then pasting back in.
pasting? not importing? how does that work? i've exported and edited the JSON file (pretty bog-standard there). so this should be a no-brainer...
if that's true, that's one the dumbest things i've ever seen. are we really expected to manually build hundreds of UDT tags from scratch or copy/paste/modify them???
maybe i'm using the wrong terminology. i am working in the UDT definition tab, creating UDT tags. does this still apply??
Nevermind, I just tried it and it's not working the way I would have expected. Trying to paste on top of the existing UDT makes it think I'm trying to nest a second UDT inside, Just trying to paste the tag JSON makes it think I'm importing tags into the UDT definitions.
Maybe this needs to be a feature request because it's not behaving intuitively at all.
I'm going to take the risk of wading into this thread (I have nothing to do with the UX of the tag system, so don't jump down my throat).
It sounds like what you're trying to do is take a collection of "regular" tags, maybe make some out of band modifications to them, and then add them to an existing UDT?
Again, I won't talk about my thoughts about the nature of this flow, but to achieve that result, you can import your tags in the "regular" tag area, cut them from there, go to the UDT Definitions tab, expand the UDT you want to update, and paste the tags you want directly into it.
UDT definitions. i exported UDT definitions, edited them, and tried to import the changes definitions back in.
FWIW, i am working with the labels, &c. that have come before me. if they are wrong (which is likely), please advise. for those who know me from a few months ago, i've been off developing a piece of software. but now i'm back (you poor bastards) and trying to reorient my brain to all things Ignition.
everything i have attempted has been in the UDT Definitions tab.
@PGriffith okay. i'll give that a shot. i had tried to import the definitions as 'Interactive' and they all dumped into the Tags tab. from what you've explained, this is halfway to where i need to get. and, yeah... we won't talk about workflow...
I may not have read every reply here... but thought I'd chime in with my knowledge of the intricacies of importing tags into or updating UDT definitions.
The tag editor does not accept:
tag JSON
copied tags from the tag browser
It only accepts tags copied from within the tag editor.
The tag browser UDT tab does not allow:
pasting tag JSON directly onto or into UDT Definitions.
To update a UDT Definition from tag JSON, you must select the folder it resides in, or the root (i.e. click just to the left of any UDT definition in the blank space so that nothing is selected) before pasting tag JSON from the clipboard. Otherwise, it will try to paste the tag JSON into the UDT definition and fail.
To copy tags into a UDT Definition, copy the tags (not the JSON) from the standard tab and then paste them into the UDT Definition in the UDT tab.
If you've created the tag JSON from tools and it's in the clipboard, paste it into the standard Tags tab and then copy them from there and do as above.
Not the most intuitive workflow but I'm glad there is one.
Now that I think about it, would this possibly be the reason why @ian.sebryk was unable to choose the "import tags" command when right clicking inside the UDT Definitions tab? I notice he right clicked on the UDT itself while I right clicked in empty space.