I have thingworx ThingWorx 9.6.2-b447 (PTC cloud hosted)
I have a mashup#0 with a mashupcontainer widget set it to open mashup#1. All is fine
I also have a button on mashup#0 to trigger the refresh of the mashupcontainer (clicked action linked to Refresh) ... because I want to reload the cotained mashup#1
By pushing the button, the refresh of mashup#1 seems to not happen.
Just mashup variable passes through mashupcontainer, but the refresh action is not done ...
What I'm doing wrong ?
Solved! Go to Solution.
The mashupcontainer Refresh event dows not works.
I cannot use the changed event of a mashup property, because there is no change
To leave it simple I had to use an auto refresh inside the contained mashup
You may try below approach as well:
1. Create mashup parameter lets say Counter, in both the mashup #0 & #1.
2. Bind mashup#0 Counter to Contained mashup Counter.
3. Set some value (e.g. 1) using expression to mashup#0 Counter on button click.
4. Inside Mashup#1, call the services on CounterChanged mashup event.
I already solved bu using the "changed" event of a mashup property
but ... is there the refresh action on the mashupcontainer widget ? shouldn't it works ?
In my case I have an update on the contained mashup content (retrieved with a service), the easiest ways is to just refresh.
I can use a trick with a variable that I have to change to force some refresh inside the contained mashup, but if thingworks give me the refresh action I think it should work..
Hello @iguerra,
I see that we have not received the solution for this post. Were you able to resolve this issue by yourself? If so, would you be comfortable posting the solution in the community and marking it as the accepted solution for the benefit of other community members?
If you are still struggling to find the solution, please let me know if you are comfortable opening a case.
Regards,
Abhi
The mashupcontainer Refresh event dows not works.
I cannot use the changed event of a mashup property, because there is no change
To leave it simple I had to use an auto refresh inside the contained mashup