Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I'm looking to open up an information popup within a mashup when an event happens.
I have a counter, when that reaches zero, I want the popup to open with some information.
Currently I have only found how to open the popup using the Navigation widget.
Any help would be appreciated.
Solved! Go to Solution.
Wire the boolean into a Validation Widget to get an actual event that can fire the Navigation.
set the Widget to auto evaluate and again make it invisible
be sure to define a parameter for in the Widget configuration that you can wire the boolean to
after that in the expression just use inameofyourvariable == true
and then you can use the On True and On False events to trigger other services like Navigate
The Navigate action that opens the pop-up can be initiated with a mashup event (vs. having to click the button)
so you can use the navigation widget, make it invisible, and fire it with an event.
Thank you Pai. That's exactly what I was trying to do. I'll give it another shot this evening and comeback with any queries if that's ok?
I have a boolean variable in my thing data that's passed into the mashup. That's what I want to use to trigger the event.
Hi Pai,
I am still having a problem with this.
I have a Boolean Variable that changes based on a script I'm running within my thing template.
if( value == 1)
{
boolVar = true;
}
else
{
boolVar = false;
}
In my mashup I'm pulling back GetPropertiesValues and getting the row that contains my boolean variable.
In the console, my variable is changing from true to false as expected when conditions are met.
How do I link the navigation widget 'navigation' event to fire with the 'true' value of the boolean I'm pulling back?
I hope that makes sense.
Thanks,
Chris
Wire the boolean into a Validation Widget to get an actual event that can fire the Navigation.
set the Widget to auto evaluate and again make it invisible
be sure to define a parameter for in the Widget configuration that you can wire the boolean to
after that in the expression just use inameofyourvariable == true
and then you can use the On True and On False events to trigger other services like Navigate
Thank You.