Skip to main content
5-Regular Member
April 24, 2025
Solved

Close popup

  • April 24, 2025
  • 2 replies
  • 707 views

Im new to PTC Thingworx and I created a child mashup. To load it, I made it a popup of my main mashup. I put a close button inside the child mashup and wants to close the popup. Not sure how to do this, appreciate if you could help me with this.

 

JY_11008628_0-1745453133265.png

 

Best answer by nmutter

In your popup-mashup you can bind the button click event to the mashup "CloseIfPopup" action

nmutter_0-1745494433150.png

 

2 replies

16-Pearl
April 24, 2025

Hi @JY_11008628  , There's a checkbox in Navigation widget that's ClickOutsideToClose, thus you don't even need a Button outside the Popup, just click anywhere but inside.

nmutter16-PearlAnswer
16-Pearl
April 24, 2025

In your popup-mashup you can bind the button click event to the mashup "CloseIfPopup" action

nmutter_0-1745494433150.png