How to edit an existing UDT easily

Hi! Hoping you are having a nice week.

A few years ago we finished a project and we are currently working in an expansion.
We have an existing UDT that we wanna add more tags to it.

I have been experimenting a bit, and I noticed that I could simply edit it (the udt) and add the new tags.
However, i would really like to be able to import the UDT via JSON.

Do I have to replace (override) the current UDT when I import it? Could I do a merge like when you import tags?

In this case there are a few tags (like 10), but what If I wanna add like a lot more. Should I do it via script?

Any tip/idea are welcome.

Thanks in advance!

Export the current UDT's json. Edit the json to add all the new stuff. Import it back, using overwrite mode. All of the instances will Just Work™ as long as you haven't changed parameter names.

1 Like

Have you got a SKU for any of this in your web store yet?

1 Like

Overwritting an UDT would reset the already created tags to it's default value (the udt one)?

No, editing a UDT definition leaves instance overrides/parameter values in place.

1 Like

Thanks pturmel