# \[IGN-15470\]Is it possible to reset a tag property to default in scripting?

**URL:** <https://forum.inductiveautomation.com/t/ign-15470-is-it-possible-to-reset-a-tag-property-to-default-in-scripting/113849>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 9, 2026, 1:33pm UTC](https://forum.inductiveautomation.com/t/ign-15470-is-it-possible-to-reset-a-tag-property-to-default-in-scripting/113849 "2026-02-09T13:33:14Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Chris\_Bingham](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@Chris\_Bingham](https://forum.inductiveautomation.com/u/Chris_Bingham)\
**Post date:** [March 9, 2026, 4:58pm UTC](https://forum.inductiveautomation.com/t/ign-15470-is-it-possible-to-reset-a-tag-property-to-default-in-scripting/113849/25 "2026-03-09T16:58:26Z")

</div>

> [@nminchin](#):
>
> Without having this in a single function requires a surprisingly difficult and overly complicated expression!

I recall [a version](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/add-expression-function-to-check-if-tag-is-valid-found-and-not-disabled) that was more complicated:

```javascript
indexOf(toStr(qualityOf({tag})), 'Bad_NotFound') = -1 &&
indexOf(toStr(qualityOf({tag})), 'Bad_Disabled') = -1

```

But, as of around 8.1.10:

> [@How to locate the number 'value' of a Tag's Data Quality](https://forum.inductiveautomation.com/t/how-to-locate-the-number-value-of-a-tags-data-quality/26840/16):
>
> Reviving this thread because of changes that landed in the latest nightly build/8.1.10: The gist: In addition to isGood, we've added new expression functions to test each different level (isBad, isUncertain, isError). As a further mechanism to allow direct comparison, e.g. if you want to find out if something is disabled, you can use the new qualityOf expression; this will return the QualityCode object from the input. The equality operator has been 'overloaded' for QualityCodes in expressions…

This [simplified version](https://forum.inductiveautomation.com/t/ignition-extensions-convenience-utilities-for-advanced-users/64615/95) makes everything a **tad** more manageable:

```javascript
qualityOf({tag}) != 'Bad_NotFound' &&
qualityOf({tag}) != 'Bad_Disabled'

```

I am using the above in several views (Edge projects). While it does feel a bit use-case-specific to port over the `isAvailable` function…I’d certainly use it as well. To echo your use, I would be pointing the function at an existing property (which is bound to a tag) as well.

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-15470-is-it-possible-to-reset-a-tag-property-to-default-in-scripting/113849)._
