# Writing from Extension Function

**URL:** <https://forum.inductiveautomation.com/t/writing-from-extension-function/30308>\
**Category:** Ignition\
**Created:** [November 28, 2019, 10:39pm UTC](https://forum.inductiveautomation.com/t/writing-from-extension-function/30308 "2019-11-28T22:39:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke1](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@luke1](https://forum.inductiveautomation.com/u/luke1)\
**Post date:** [November 28, 2019, 10:39pm UTC](https://forum.inductiveautomation.com/t/writing-from-extension-function/30308/1 "2019-11-28T22:39:38Z")

</div>

Hi guys, this is probably quite a straight forward answer but i cannot seem to find a suitable explanation. I would like to write to a label object from an alarmstatus table but i do not know how to call the component, a normal script would recognise event.source.parent etc but this does not. Any help would be appreciated

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 29, 2019, 2:19am UTC](https://forum.inductiveautomation.com/t/writing-from-extension-function/30308/2 "2019-11-29T02:19:59Z")

</div>

In an extension function, use `self` where an event would use `event.source`.
