Skip to main content
1-Visitor
May 11, 2016
Solved

Popup triggered on mashup load

  • May 11, 2016
  • 3 replies
  • 2157 views

I have a master mashup with a main menu that can lead to several different pages.  When I first load the application, I want a navigation button triggered that pops up a mashup that the user can select a few items that will drive the rest of the mashups.  My issue is that if I trigger the popup on mashup load, every time a user navigates back to that page, the pop up returns.  I can think of a few ways around this, but is there a "proper" way?  Can you trigger a popup off of a variable returned from a service?  Thank you!

Best answer by ptc-5082906

Brian, one way will be setting a session parameter when the pick is made and then check if the user selects something bypass the pop up.

3 replies

1-Visitor
May 12, 2016

Brian, one way will be setting a session parameter when the pick is made and then check if the user selects something bypass the pop up.

5-Regular Member
May 12, 2016

Brian, the Mashup loaded event is a one way event, so it will be triggered each time the Mashup is loaded. Instead of triggering it on the initial load, can you interject anything there that would require the user to click something in order to display this pop up? That way, when the user navigates back to the home page, the pop up doesn't, well, pop up unless clicked.

byutz1-VisitorAuthor
1-Visitor
May 12, 2016

Aanjan, thats how I had it originally, but I thought it would be slick to have it popup on the very first load.  Its not crucial, but I thought I would check an see if there is anyway around it.  Sounds like using a session variable is the best way to go.  Thanks for the replies!