# Add Notes to Alarm in Client Window

**URL:** <https://forum.inductiveautomation.com/t/add-notes-to-alarm-in-client-window/58466>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 14, 2022, 12:17pm UTC](https://forum.inductiveautomation.com/t/add-notes-to-alarm-in-client-window/58466 "2022-04-14T12:17:14Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 22, 2022, 10:38pm UTC](https://forum.inductiveautomation.com/t/add-notes-to-alarm-in-client-window/58466/11 "2022-04-22T22:38:11Z")

</div>

No prob, here’s a small improvement:

```auto
alrms = system.dataset.toPyDataSet(event.source.selectedAlarms)
if len(alrms) > 0:
	source = alrms.getValueAt(0,1).split(':')
	tag = source[3]
	try:
		Notes = system.tag.getConfiguration(tag)[0]['alarms'][0]['notes']
	except:
		Notes = ""
	event.source.newSelect = system.dataset.addColumn(alrms, 6, [Notes], 'Notes', str)
else:
	event.source.newSelect = system.dataset.addColumn(alrms, 6, [], 'Notes', str)

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/add-notes-to-alarm-in-client-window/58466)._
