# Custom Alarm Table

**URL:** <https://forum.inductiveautomation.com/t/custom-alarm-table/81925>\
**Category:** General Discussion\
**Tags:** database, ignition81, perspective\
**Created:** [November 15, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925 "2023-11-15T14:57:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yousef\_Ali](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@Yousef\_Ali](https://forum.inductiveautomation.com/u/Yousef_Ali)\
**Post date:** [November 15, 2023, 2:57pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/1 "2023-11-15T14:57:24Z")

</div>

In PLC we received Alarm as stringArray .each index for that array had below sample

{"ID":0,"Category":0,"Active": false}

if "Active" is true mean this Alarm is active.  
Is there any way to create a custom Alarm table or (Alaram Journal Table) to add rest of data. ID and Category in a separate column  
can we add ID and Category in Alarm table to be logged when alarm triggered in a separate column in alarm event table?

---

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [November 15, 2023, 5:31pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/2 "2023-11-15T17:31:02Z")

</div>

I had same challenges in one project. I hope to get some ideas as well

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [November 15, 2023, 5:38pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/3 "2023-11-15T17:38:52Z")

</div>

Assuming I understand the question, you should look into associated data.

[https://docs.inductiveautomation.com/display/DOC81/Alarm+Associated+Data](https://docs.inductiveautomation.com/display/DOC81/Alarm+Associated+Data)

---

<div class="post-metadata">

**Author:** ![Yousef\_Ali](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@Yousef\_Ali](https://forum.inductiveautomation.com/u/Yousef_Ali)\
**Post date:** [November 15, 2023, 7:10pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/4 "2023-11-15T19:10:49Z")

</div>

Associated data property doesn't appear if you import this tag .. means if i need to build dynamic script to add these tags this will not work.

Second, Is there a way to present these associated data in Alarm Journal table as a column.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [November 15, 2023, 7:16pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/5 "2023-11-15T19:16:35Z")

</div>

No idea what you are saying for point one.

Two, yes. If you read the link these are extensions of the regular alarm props so you can use them in the alarm tables.

---

<div class="post-metadata">

**Author:** ![Yousef\_Ali](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@Yousef\_Ali](https://forum.inductiveautomation.com/u/Yousef_Ali)\
**Post date:** [November 15, 2023, 7:27pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/6 "2023-11-15T19:27:59Z")

</div>

If i added associated data to certain tag and exported as Json format .. these property doesn't appeared in the Json format.

for point Two: in Alarm Journal table. How to add new column with associated data "ID" ?

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [November 15, 2023, 7:31pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/7 "2023-11-15T19:31:01Z")

</div>

Read the doc, columnsAssociated.

[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Alarm+Journal+Table](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Alarm+Journal+Table)

Edit, you didn't include your version, so note the versions in the doc. You will need to update if you are on an earlier version. Associated data should be in the tag export. If not, I'd call support.

---

<div class="post-metadata">

**Author:** ![Yousef\_Ali](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@Yousef\_Ali](https://forum.inductiveautomation.com/u/Yousef_Ali)\
**Post date:** [November 15, 2023, 7:44pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/8 "2023-11-15T19:44:41Z")

</div>

Thanks a lot @jlandwerlen .. i am able to present Associated data in Journal table.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/557369fdfb44a2fc158e30c51db4ffd0dc13e8f5.png)

i have version 8.1.28 but when export tag with associated date . these property doesn't appears in Json format. i hope if you can test it with one memory tag

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [November 15, 2023, 7:59pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/9 "2023-11-15T19:59:08Z")

</div>

I'll try and remember to test and let you know. But, tag export should include everything, otherwise what's the point.

---

<div class="post-metadata">

**Author:** ![Yousef\_Ali](https://avatars.discourse-cdn.com/v4/letter/y/87869e/32.png) [@Yousef\_Ali](https://forum.inductiveautomation.com/u/Yousef_Ali)\
**Post date:** [November 15, 2023, 8:29pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-table/81925/10 "2023-11-15T20:29:05Z")

</div>

i was a mistake from me .. it's fine now
