# Triggering popup

**URL:** <https://forum.inductiveautomation.com/t/triggering-popup/89736>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 30, 2024, 8:32pm UTC](https://forum.inductiveautomation.com/t/triggering-popup/89736 "2024-04-30T20:32:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [May 16, 2024, 1:02pm UTC](https://forum.inductiveautomation.com/t/triggering-popup/89736/8 "2024-05-16T13:02:32Z")

</div>

Maybe this topic will be helpful for you? If you trigger from a tag, you will need to get the session and page.

> [@Show a popup in perspective on all clients if a value changes](https://forum.inductiveautomation.com/t/show-a-popup-in-perspective-on-all-clients-if-a-value-changes/61133/18):
>
> When I run the following code: def valueChanged(tag, tagPath, previousValue, currentValue, initialChange, missedEvents): popupId = "O2Alarm" viewPath = "Split" # insert your view path here logger = system.util.getLogger("POPUP") sessions = system.perspective.getSessionInfo() for session in sessions: for pageId in session.pageIds: logger.info("{0} | {1}".format(session.id, pageId)) if currentValue and currentValue.value: # I added an additional safety check for first time use he…

---

_[View the full topic](https://forum.inductiveautomation.com/t/triggering-popup/89736)._
