# Good way of Editing Tags?

**URL:** <https://forum.inductiveautomation.com/t/good-way-of-editing-tags/71049>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 14, 2023, 7:59pm UTC](https://forum.inductiveautomation.com/t/good-way-of-editing-tags/71049 "2023-03-14T19:59:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [March 15, 2023, 8:14pm UTC](https://forum.inductiveautomation.com/t/good-way-of-editing-tags/71049/5 "2023-03-15T20:14:19Z")

</div>

I use Excel in combo with a python script to create bulk tags like this, where I can create udts and write to their parameters.  
I use excel only to create the table, then copy the table and let python read the clipboard and create or write to the tags. Writing to tags is far easier than creating them, and since you've already got yours created, you can just write to them. To set udt paramaters, you can write to `'path/to/udtinstance/Parameters/Message00'`

Eg  
`system.tag.writeBlocking('path/to/udtinstance/Parameters/Message00', 'hello')`

The function I use to read the clipboard I posted here

> [@System.tag.configure incorrectly overriding multiple UDT tag properties](https://forum.inductiveautomation.com/t/system-tag-configure-incorrectly-overriding-multiple-udt-tag-properties/40593/18):
>
> FWIW, I recently forgot about this and inadvertently added property overrides to a large number of UDTInstance tags confused So I created a script to remove the prop overrides on tags part of UDT instances that were not included in a list of property names. The script copies the tag json back into clipboard, so you can review it first before saving as a json and importing it back in. 
> 
> > **Main Functions**
> >
> > def removePropOverrides(tags, retainProps=None, tagpath='', insideUDTInstance=False): …

---

_[View the full topic](https://forum.inductiveautomation.com/t/good-way-of-editing-tags/71049)._
