cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Forced Root Cause Monitoring - Create a Popup Mashup

No ratings

This post is part of the series Forced Root Cause Monitoring via Mashups and Modal Popups

To not feel lost or out of context, it's recommended to read the main post first.

Create a Popup Mashup

  • Create a new Mashup called "rcp_MashupPopup" as Page and Static
  • Save and switch to the Design tab

Design

  • Edit the Mashup Properties
    • Set "Width" to 500
    • Set "Height" to 300
  • Add a new Label
    • Set "Text" to "Something went wrong - what happend?"
    • Set "Alignment" to "Center Aligned"
    • Set "Width" to 230
    • Set "Top" to 55
    • Set "Left" to 130
  • Add a new Radio Button
    • Set "Button States" to "rcp_AlertStateDefinition"
    • Set "Top" to 145
    • Set "Left" to 25
    • Set "Width" to 450
    • Set "Height" to 100
  • In the Workspace tab, select the "Mashup"
    • Click on Configure Mashup Parameters
    • Add Parameter
      • Name: "selectedState"
      • BaseType: NUMBER
    • Click Done
  • Save the Mashup

Connections

  • Select the Radio Button
    • Drag and drop its Selected Value property to the Mashup and bind it to the selectedState Mashup Parameter
    • Drag and drop its SelectionChanged event to the Mashup and bind it to the CloseIfPopup service
  • Save the Mashup

Version history
Last update:
‎Nov 14, 2018 10:35 AM
Updated by: