# How to know which user shelved an alarm?

**URL:** <https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [June 12, 2025, 9:38pm UTC](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352 "2025-06-12T21:38:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 17, 2025, 4:29pm UTC](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352/6 "2025-06-17T16:29:32Z")

</div>

There's no supported way to do so statically; once you've reached to the context you are outside the boundaries of supported behavior.  
I'm being deliberately obtuse in the linked post because doing things like this is subject to break between Ignition versions (even minor version changes), **unlike** the guarantees you get with our scripting functions.

That said, Nick has an example in lines 3 and 4 of his script here:

> [@Editing or Creating a Perspective View via Script](https://forum.inductiveautomation.com/t/editing-or-creating-a-perspective-view-via-script/50511):
>
> In case this helps anyone, here’s how you can modify (or create) a Perspective View (or any non-binary resource really) via script. You can call this from any gateway scope, including from a Perspective Button action. Note: the gateway only checks for file updates to resources every 5mins, so you won’t see changes in your client until then, but they will come through automatically. projectName = '' # e.g. 'AwesomeProject' viewPath = '' # e.g. 'Testing/View to Modify' from com.inductiveautomat…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-know-which-user-shelved-an-alarm/107352)._
