# Extracting alarm info from click event - perspective view alarm status table alarm

**URL:** <https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647>\
**Category:** Ignition\
**Tags:** perspective, ignition81, scripting\
**Created:** [August 31, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647 "2022-08-31T17:41:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff.ryan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jeff.ryan/32/25543_2.png) [@jeff.ryan](https://forum.inductiveautomation.com/u/jeff.ryan)\
**Post date:** [August 31, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647/1 "2022-08-31T17:41:08Z")

</div>

Hello,  
I have all the pieces in place other than one. I believe the topic has been broached here before, so sorry if I’m dredging things up again. But, ideal, I’d like to click on one selection (alarm) in an alarm status table on a perspective view and pop up another view with further (diagnostic) information.

I’m doing this on an onClick event , script runAction and openPopup, passing a parameter that a PDF viewer source is bound to on that window. That is working great with a constant for the parameter.

I need to extract the alarm name, display path, label, or ‘something’ to identify it from the selected alarm to programmatically set that parameter.  
It looks like previously it may not have been possible, but this is 8.1.17 and it might be now? If so, anyone else have some getting started python script examples to do so? Thanks much!

 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/0/9043263dd732b7d19690d11652449eb81307c537.jpeg)

---

<div class="post-metadata">

**Author:** ![jeff.ryan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jeff.ryan/32/25543_2.png) [@jeff.ryan](https://forum.inductiveautomation.com/u/jeff.ryan)\
**Post date:** [August 31, 2022, 8:37pm UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647/2 "2022-08-31T20:37:17Z")

</div>

A colleague of mine found a great solution.

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [September 1, 2022, 5:34pm UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647/3 "2022-09-01T17:34:20Z")

</div>

Well don’t be stingy and share it, incase someone else is in the same predicament.

---

<div class="post-metadata">

**Author:** ![jeff.ryan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jeff.ryan/32/25543_2.png) [@jeff.ryan](https://forum.inductiveautomation.com/u/jeff.ryan)\
**Post date:** [September 2, 2022, 1:36pm UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647/4 "2022-09-02T13:36:54Z")

</div>

![AlarmDiag2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/b/4b791d71d504331884e893c68809cba3fca2fe1a.jpeg)  
 ![AlarmDiag1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/4/d4cbc644d3e18bcdfead5a95db4125cdcfb7f70c.jpeg)  
 ![AlarmDiag3](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/3/63451d2217a2d34b96b8a855369c31b1e6d9d340.jpeg)

OK then… A custom method that has visibility into the table and pops up the window, that is called when a custom property we created for ‘selection count’ changes (change script) to a single selection.

---

<div class="post-metadata">

**Author:** ![Steve\_Booth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_booth/32/82019_2.png) [@Steve\_Booth](https://forum.inductiveautomation.com/u/Steve_Booth)\
**Post date:** [September 17, 2025, 7:05am UTC](https://forum.inductiveautomation.com/t/extracting-alarm-info-from-click-event-perspective-view-alarm-status-table-alarm/63647/5 "2025-09-17T07:05:34Z")

</div>

Hi, Thanks for sharing. Can you please explain how the custom property ‘SelectionCount’ changes to 1? I see you have a binding on the property, but I don’t understand what it is bound to.
