# IA Scripting Module - use editTag to disable a tag

**URL:** <https://forum.inductiveautomation.com/t/ia-scripting-module-use-edittag-to-disable-a-tag/6538>\
**Category:** 3rd Party Modules\
**Created:** [May 21, 2013, 12:11pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-use-edittag-to-disable-a-tag/6538 "2013-05-21T12:11:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dep05d](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dep05d](https://forum.inductiveautomation.com/u/dep05d)\
**Post date:** [May 21, 2013, 12:11pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-use-edittag-to-disable-a-tag/6538/1 "2013-05-21T12:11:54Z")

</div>

Hi,

Is there a way to set the enabled property of a tag using system.tag.editTag? It appears only tagPath, attributes, and parameters are valid in this function.

I’d like to have a few dynamic OPC tags in a UDT that are disabled if not in use on a specific instance, so I don’t think deleting and re-creating the tag is an option.

Thanks,

Dan

---

<div class="post-metadata">

**Author:** ![dep05d](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dep05d](https://forum.inductiveautomation.com/u/dep05d)\
**Post date:** [May 29, 2013, 6:13pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-use-edittag-to-disable-a-tag/6538/2 "2013-05-29T18:13:34Z")

</div>

Nevermind. I didn’t realize “.Enabled” could be written to directly just like some of the other tag attributes.

```auto
system.tag.write("someFolder/SomeUDT/someTag.Enabled",0)
```

Thanks,

Dan
