# system.tag.editTag problem

**URL:** <https://forum.inductiveautomation.com/t/system-tag-edittag-problem/10650>\
**Category:** Ignition\
**Created:** [October 22, 2015, 3:14pm UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-problem/10650 "2015-10-22T15:14:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.montresor](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@andrea.montresor](https://forum.inductiveautomation.com/u/andrea.montresor)\
**Post date:** [October 22, 2015, 3:14pm UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-problem/10650/1 "2015-10-22T15:14:45Z")

</div>

Hi,

I tried to used “system.tag.editTag”, but It does not work in my case.  
I have one tag and one data type that I want to disable in the “Tag\_Test” folder.  
This is the code in the value change of “tag”:

```auto
system.tag.editTag(tagPath="[default]Tag_Test/Tag1", overrides={"STATUS":{"Enabled":"false"}})
```

I tried to change the value in this tag but the data type “Tag8” It is not disabled.  
I enclose an image.

How can I solve it?

Thanks

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/122e6d86902e8d10a65adb3d6fffc762635ea598.PNG)

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [October 22, 2015, 4:52pm UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-problem/10650/2 "2015-10-22T16:52:59Z")

</div>

Try -

```auto
system.tag.editTag(tagPath="[default]Tag_Test/Tag1", attributes={"Enabled":"False"})
```

Overrides are used for editing tags within the UDT, you are trying to edit the UDT itself so you would think of it as a tag and use attributes instead. Just a note - in the manual example it uses “STATUS” as the override key, STATUS would be the name of the tag within the UDT that you are overriding.

---

<div class="post-metadata">

**Author:** ![andrea.montresor](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@andrea.montresor](https://forum.inductiveautomation.com/u/andrea.montresor)\
**Post date:** [October 23, 2015, 6:37am UTC](https://forum.inductiveautomation.com/t/system-tag-edittag-problem/10650/3 "2015-10-23T06:37:06Z")

</div>

Thanks you very much! Now it works.

Andrea
