# Clear tag values on start up

**URL:** <https://forum.inductiveautomation.com/t/clear-tag-values-on-start-up/25018>\
**Category:** Ignition\
**Created:** [May 15, 2019, 10:32am UTC](https://forum.inductiveautomation.com/t/clear-tag-values-on-start-up/25018 "2019-05-15T10:32:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tessa\_luyten](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@tessa\_luyten](https://forum.inductiveautomation.com/u/tessa_luyten)\
**Post date:** [May 15, 2019, 10:32am UTC](https://forum.inductiveautomation.com/t/clear-tag-values-on-start-up/25018/1 "2019-05-15T10:32:02Z")

</div>

Hi!

Can you **clear** or delete the **values** of all the **tags** when at start up time of the project? Because now the project remeber the tag values and that should not be possible. The type of my tag is a dataset.

Thanks in advance  
Tessa

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 15, 2019, 11:52am UTC](https://forum.inductiveautomation.com/t/clear-tag-values-on-start-up/25018/2 "2019-05-15T11:52:16Z")

</div>

Gateway tags, no. They are meant to be persistent. In client tags and component bindings, datasets from query bindings can be set (by default, nowadays) to not hold the values through project save. Other datasets retain the values from the designer because datasets hold configuration values for many objects that would otherwise be lost. You can explicitly control this behaviour using the TransientDataset functions from the [Simulation Aids Module](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-simulation-aids).

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [May 15, 2019, 2:36pm UTC](https://forum.inductiveautomation.com/t/clear-tag-values-on-start-up/25018/3 "2019-05-15T14:36:53Z")

</div>

> [@tessa\_luyten](#):
>
> Can you **clear** or delete the **values** of all the **tags** when at start up time of the project?

You can write a script to clear gateway tag values when needed. For dataset tags, that means the value would be an empty dataset, most likely with columns you'll be using when it is used later. But if you're tying this to client startup, chances are you should be using either client tags or a dataset custom property. For the latter, if you save it empty in Designer and it will start empty when a client starts.
