Skip to main content
1-Visitor
December 14, 2023
Solved

Passing service outputs between mashups

  • December 14, 2023
  • 1 reply
  • 1360 views

How can I trigger a service in mashup A via a button click and display its output which is an infotable, within a grid in mashup B in Thingworx?

Best answer by Rocko

Sure, just select the mashup in the Explorer tab, then in the canvas it will show a dropdown top left with an option "Configure mashup parameters".

Also look here: https://support.ptc.com/help/thingworx/platform/r9.5/en/#page/ThingWorx/Help/Mashup_Builder/Mashups/ConfigureMashupParameters.html

and here:

https://community.ptc.com/t5/ThingWorx-Developers/Mashup-Parameter-Changed-Event-from-contained-mashup/m-p/800934

1 reply

Rocko
19-Tanzanite
December 14, 2023

What is the relationship between mashup A and B? is B a submashup in A?

You can add a mashup parameter in B and bind/set the paramters in A on the mashupcontainer for B.

If B in not embedded, then you would have a Navigate function where you can set the same parameters.

1-Visitor
December 14, 2023

Mashup A appears as pop up window via a navigate function triggered by a button press in mashup B. Also, any guidance on how to create a mashup parameter? 

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
December 15, 2023

Sure, just select the mashup in the Explorer tab, then in the canvas it will show a dropdown top left with an option "Configure mashup parameters".

Also look here: https://support.ptc.com/help/thingworx/platform/r9.5/en/#page/ThingWorx/Help/Mashup_Builder/Mashups/ConfigureMashupParameters.html

and here:

https://community.ptc.com/t5/ThingWorx-Developers/Mashup-Parameter-Changed-Event-from-contained-mashup/m-p/800934