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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Contained Mashup ThingWorx

MS_11949745
4-Participant

Contained Mashup ThingWorx

Hi

I have a question related to contained mashups
I created a contained mashup that holds two buttons, and I want to use it in another main mashup as a popup mashup appears when I click on a row on the grid exists the main mashup.
I assigned a service ( deletion row from the grid ) to a button exists in the popup contained mashup, when I click on the button nothing reflect on the grid.
Service is working and I tested on another button that exists in the main mashup.
What can I do to make the service run on the button exists in the contained mashup ?

3 REPLIES 3

Hi  @MS_11949745 ,

 

You can press Inspect on the Page, go to the network tab, and see what Inputs are in the Service for the Button press. Retry with same inputs in Thing and see what is failing it.

 

Thanks,

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

Hi @MS_11949745

 

I assume the deletion service worked as expected, which deletes the row from the data source; however, to refresh your main mashup's Grid, you might need to reinvoke the data source service from the contained mashup.

 

For example, you can use the WindowClosed event to tell the data source service to reload the Grid, that is, to bind the WindowClosed event to your Grid's data source service, such that when you finish operations in your contained mashup and close that popup window, the WindowClosed event will be triggered to invoke a Grid refresh.

 

Hope it helps.

for easier follow via sample screenshot:

nmutter_0-1740762166176.png

Binding the "WindowClosed" event from the popup, to call the service which provides the data for the grid. So that data is reloaded when the popup was closed.

 

Announcements


Top Tags