# Ways to check if the popup is open

**URL:** <https://forum.inductiveautomation.com/t/ways-to-check-if-the-popup-is-open/77128>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [July 31, 2023, 9:19am UTC](https://forum.inductiveautomation.com/t/ways-to-check-if-the-popup-is-open/77128 "2023-07-31T09:19:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 31, 2023, 11:05am UTC](https://forum.inductiveautomation.com/t/ways-to-check-if-the-popup-is-open/77128/4 "2023-07-31T11:05:45Z")

</div>

pageid is nothing usefull...

i would avoid having to look up everything, but if you rly have to, this might help

> [@Get Perspective Session Page Info from PageIds](https://forum.inductiveautomation.com/t/get-perspective-session-page-info-from-pageids/74585/9):
>
> Just for completeness/posterity, here is a sample of full code that does what I set out to do, ie browse active sessions for a given project, determine if a given view is open on those sessions, and then grab the session id and a couple of session custom props from those sessions and build it out into a map to write to a JSON tag. 
> 
> > **Session Monitor Browse Code**
> >
> > from com.inductiveautomation.ignition.gateway import IgnitionGateway import json project\_name = sytem.util.getProjectName() target\_view\_pa…

---

_[View the full topic](https://forum.inductiveautomation.com/t/ways-to-check-if-the-popup-is-open/77128)._
