# Add or remove value on a tag list

**URL:** <https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380>\
**Category:** Ignition\
**Created:** [August 25, 2023, 10:27am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380 "2023-08-25T10:27:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [August 25, 2023, 10:27am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/1 "2023-08-25T10:27:17Z")

</div>

Hello, I have A Custom listTag on my popup and I binded it with tag TagList.  
I want to add/remove a value to the tag TagList when I change a value on my popup

I will use the `system.tag. WriteBlocking` but I think it will delete other value found on my tag TagList.

Someone Can help me ? how to add or remove value on a tag list without deleting previous values

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [August 25, 2023, 11:20am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/2 "2023-08-25T11:20:49Z")

</div>

1. read the tag's value
2. remove the value you don't want
3. write the list back to the tag

---

<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:** [August 25, 2023, 10:33pm UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/3 "2023-08-25T22:33:24Z")

</div>

> [@sebastien\_ng](#):
>
> TagList

What is this tag's datatype?

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [August 26, 2023, 7:24am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/4 "2023-08-26T07:24:56Z")

</div>

the type of tag is integer

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [August 26, 2023, 7:28am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/5 "2023-08-26T07:28:36Z")

</div>

Thank you @pascal.fragnoud , but if there are two users logged in, i think there will be confusion in case both users try to modify the list

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 26, 2023, 7:35am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/6 "2023-08-26T07:35:42Z")

</div>

> [@sebastien\_ng](#):
>
> i think there will be confusion in case both users try to modify the list

What do you want to happen in this case? This would be a problem with any shared data such as in a database but there are ways to manage the problem.

Please edit your original post and add the Perspective or Vision tag.

---

<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:** [August 26, 2023, 7:38am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/7 "2023-08-26T07:38:30Z")

</div>

> [@sebastien\_ng](#):
>
> integer tag

> [@sebastien\_ng](#):
>
> how to add or remove value on a tag list

These two things together don't make any sense. You can't have an integer tag that is simultaneously a list. Can you explain using Ignition terminology what you're trying to do?

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [August 26, 2023, 7:55am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/9 "2023-08-26T07:55:11Z")

</div>

I solved it.

I had created UDT tag webcam,

I have 10 webcam,  
I add int tag to remplace tag list on UDT tag webcam  
beacause, popup is open when I click on a webcam  
when I change value of popup, it will whrite value on int tag instead add on tag list

sorry my question was not clear on the first post

---

<div class="post-metadata">

**Author:** ![sebastien\_ng](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sebastien_ng/32/55297_2.png) [@sebastien\_ng](https://forum.inductiveautomation.com/u/sebastien_ng)\
**Post date:** [August 26, 2023, 7:56am UTC](https://forum.inductiveautomation.com/t/add-or-remove-value-on-a-tag-list/78380/10 "2023-08-26T07:56:35Z")

</div>

I solved it.

sorry my question was not clear on the first post
