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

How to trigger mashup load of child mashup from main mashup ?

AP_10343008
16-Pearl

How to trigger mashup load of child mashup from main mashup ?

On main page load, if i passed data to collection, the child mashup's mashup load is triggering the services correctly. After some update in same mashup, im passing data again to collection widget. this time the mashupload of child mashup is not triggering the services. How to trigger mashup load of child mashup from main mashup?

7 REPLIES 7

Hello @AP_10343008 ,
What type of changes did you make? 
Have you reviewed the configuration of the Collection Widget? It is possible that your changes may have cleared a setting?
You also need to review the passing of values to the members in the collection widget. The JSON structure needs to have the fields specified correctly. Case is very important 

HTH
Pehowe

 

Yes I know. As I mentioned, When the data is passed on page load to collection widget, it is populated in all the widgets present in child mashup. But when data is passed to collection, without page reload, the data doesnt populated in child mashup's fields. All looks good in the configuration of collection widget. The data which iam passing and its case is correct. 

Hello @AP_10343008 ,

Let me try to rephrase the steps you are following.

You have a mashup which contains a collection widget , Along with other data entry widgets.
1. On Mashup load the collection is passed a infotable which has the information to display in  collection widget. Everything Is as Expected.

2. Updates the other data entry widgets results in a change in the data which is to be displayed in the collection

3. What action identifies that you are done with the updates?

Does this action create an updated infotable which is passed to the collection?

 

Regards,

Pehowe

Yes, Iam adding new rows and removing some rows in the infotable, which is not updating in child mashup as per the expectations. I tried passing mashup parameters as boolean value to identify there is a change in data in childmashup. But unfortunately the mashup parameters doesnt have 'Always' Change event. I tried using session variable boolean value, still the 'aAlways' Change event doesnt worked as per the expectations.

 

Instead of using boolean value to trigger services i tried timestamp change event.

whenever timestamp value changing in mainmashup, iam triggering getdata service in collection mashup for the timestamp change event. When number of rows in collection in increasing while changing the timestamp value simultaneously, getdata service in collection triggeing for first 6 rows passed in collection. For 7th, 11th row data, get data service is not triggering.

 

Hello @AP_10343008 ,

I am not clear when you say  child mashup?
Can you provide a diagram or screen capture of your configuration?

Thanks
Pehowe

Hello @AP_10343008 ,
Can you confirm what version of ThingWorx you are using? There have been some changes to the widgets between version.
You said that you are seeing updates to 6 collection entries but not the 7th. How many items in the collection are being displayed?
What is the "ItemLoadBehavior" property setting?

 

Regards,

Pehowe

Announcements


Top Tags