# Unable to execute perspective functions on session property change

**URL:** <https://forum.inductiveautomation.com/t/unable-to-execute-perspective-functions-on-session-property-change/57784>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 30, 2022, 1:08am UTC](https://forum.inductiveautomation.com/t/unable-to-execute-perspective-functions-on-session-property-change/57784 "2022-03-30T01:08:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [March 30, 2022, 9:06pm UTC](https://forum.inductiveautomation.com/t/unable-to-execute-perspective-functions-on-session-property-change/57784/5 "2022-03-30T21:06:19Z")

</div>

I think this thread has the explanation you are looking for:

> [@"No perspective page attached to this thread" when trying to openPopup from Session custom property change](https://forum.inductiveautomation.com/t/no-perspective-page-attached-to-this-thread-when-trying-to-openpopup-from-session-custom-property-change/36978/2):
>
> For Perspective to open a Popup, it needs to know what Page to open the Popup on. In most places within Perspective, the triggers are from components, which by definition are already part of a Page. Session properties are NOT part of a page, and so even though they are part of a session, there is no direction as to which page they should open on. That’s why your call is not working. The warning is telling you that the thread on the Gateway which is executing your script has no context as to whi…

---

_[View the full topic](https://forum.inductiveautomation.com/t/unable-to-execute-perspective-functions-on-session-property-change/57784)._
