# Enable/Disable Alarm Eval for Specified Tag Folder

**URL:** <https://forum.inductiveautomation.com/t/enable-disable-alarm-eval-for-specified-tag-folder/93904>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [July 30, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/enable-disable-alarm-eval-for-specified-tag-folder/93904 "2024-07-30T13:11:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftuquabo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ftuquabo/32/29161_2.png) [@ftuquabo](https://forum.inductiveautomation.com/u/ftuquabo)\
**Post date:** [July 30, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/enable-disable-alarm-eval-for-specified-tag-folder/93904/1 "2024-07-30T13:11:21Z")

</div>

Has anyone ran a button script to enable/disable alarms in a specified tag folder? Basically looking to use the checkbox component to enable/disable alarm evaluation for a group of tags under the same tag folder. This is for Perspective btw.

---

<div class="post-metadata">

**Author:** ![mturkov](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mturkov/32/42470_2.png) [@mturkov](https://forum.inductiveautomation.com/u/mturkov)\
**Post date:** [March 20, 2025, 7:20pm UTC](https://forum.inductiveautomation.com/t/enable-disable-alarm-eval-for-specified-tag-folder/93904/2 "2025-03-20T19:20:37Z")

</div>

From Ignition Manual  
Applicable Tag Type: OPC, Query, Expression, Derived, Reference, Memory

Manual suggests that an OPC tag can be used such as a Checkbox mapped to an OPC tag, I am also having trouble to have it evaluate as it seems it only takes parameters values to it.

Gonna try a couple more things but wanted to see if you had any progress on this?

Thanks!

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [March 20, 2025, 7:50pm UTC](https://forum.inductiveautomation.com/t/enable-disable-alarm-eval-for-specified-tag-folder/93904/3 "2025-03-20T19:50:56Z")

</div>

> [@How to dynamically enable the "Alarm Eval enabled" using parameter binding](https://forum.inductiveautomation.com/t/how-to-dynamically-enable-the-alarm-eval-enabled-using-parameter-binding/67529/2):
>
> Hi Bharat, To change the value of a parameter within a script, you can write to it using system.tag.writeBlocking(). Here is our manual page on that function: [system.tag.writeBlocking - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/system.tag.writeBlocking)

You can directly write to the properties of tags including Alarm Eval. Expand the Tag in the Tag Browser, and right-click the specific property to copy the path. Then try writing to it as you'd expect.

Tagpath example: _[default]Inventory.AlarmEvalEnabled_

You can then write/read it as you would a tag.

For example `system.tag.writeBlocking(["[default]Inventory.AlarmEvalEnabled"], [0])`

If using a UDT, you could also add a parameter and link it, but that isn't necessary to just write to a group of tags and update their properties.
