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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Passing service outputs between mashups

TJ_10386089
2-Guest

Passing service outputs between mashups

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?

ACCEPTED SOLUTION

Accepted Solutions
Rocko
17-Peridot
(To:TJ_10386089)

3 REPLIES 3
Rocko
17-Peridot
(To:TJ_10386089)

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.

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
17-Peridot
(To:TJ_10386089)

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

Announcements

Top Tags