# System.tag.configure - modify single property

**URL:** <https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312>\
**Category:** Ignition\
**Created:** [April 6, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312 "2021-04-06T20:31:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [April 6, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312/1 "2021-04-06T20:31:06Z")

</div>

Hello,  
Can I get an example to modify a single property of a single tag?  
(I have seen many examples which read the config, edit a single property, then write back the entire config. I do NOT want to do this, and I should NOT have to, judging by the documentation, though I might be wrong.)

Let’s say my tagpath is:  
[default]my/analog/tag

and I want to modify ‘scaleMode’  
from ‘Linear’  
to ‘Off’

Thanks everyone.  
-Rob W.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 6, 2021, 8:33pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312/2 "2021-04-06T20:33:19Z")

</div>

`system.tag.writeBlocking(["[default]my/analog/tag.scaleMode"], ["Off"])`?

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [April 6, 2021, 9:19pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312/3 "2021-04-06T21:19:34Z")

</div>

If the tag configuration property doesn’t seem to respond properly to being written via writeBlocking, this is the way via system.tag.configure:

```auto
parent_path = '[default]my/analog'
tag_name = 'tag'
config_changes = {'name':tag_name, 'scaleMode':'Off'}
system.tag.configure(parent_path,[config_changes],'m')

```

The key things to note is that you have to always include the name in the config structure, as well as the property you want to change, so that the configure operation knows which tag to apply it to, and you have to specify the `'m'` mode on the configure operation or your old tag could lose all other properties and values.

I’ve also found that `system.tag.configure` in merge mode _ **cannot** _ change the datatype of the property. If it was an integer, you can only set it to an integer. If it was a string, you can only set it to a string.

---

<div class="post-metadata">

**Author:** ![robwarren](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@robwarren](https://forum.inductiveautomation.com/u/robwarren)\
**Post date:** [April 15, 2021, 4:17pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-modify-single-property/45312/4 "2021-04-15T16:17:27Z")

</div>

@paul-griffith - This is what I probably SHOULD have done.

@justin.brzozoski - This is what I wanted to do.

As a point of note: the problem I was running into was that I was sending in the entire tag\_path as \<parent\_path\>, instead I should have been sending the parent path and then including the tag name within the config\_changes item as shown above. (I think the documentation could use this exact example as an update.)

Thank you both for your help here!
