Skip to main content
1-Visitor
January 30, 2018
Question

How to react on submashup changes

  • January 30, 2018
  • 8 replies
  • 5976 views

Hi,

I have a mashup with two submashups (contained mashups). Both submashups use the same property of the same thing. Now, when one submashup change this property, I will react on this change in the other submashup. For better explanation:

I try it with mashup parameter but this does not work.

8 replies

22-Sapphire I
January 30, 2018

Did you wire the mashup parameter from one to the parent mashup (use a Mashup parameter in parent or textbox/numberbox) back into the other mashup?

Double check the flow, if you are doing it that way.

drichter1-VisitorAuthor
1-Visitor
January 30, 2018

Ok I thing my example is not very well. My real problem had todo with "submashups" in repeater. I think this graphics discripte the problem better

I have a repeater list with a "submashup". The submashup had a edit button. If I click on one of this edit buttons i will change something which is not part of the repeater.

I can change the inEditModus property but i don't have a chance to tell the right part to reloed or recall the GetProperties() for inEditModus. Also I can not give a parameter out of the repeater (like your suggestion for submashups).

22-Sapphire I
January 30, 2018

In this case it is probably easier to have the Edit button launch a pop-up so you can pass the refresh back to the Repeater Mashup piece that launched the pop-up.

I think it will be very complex any other way, for example some mashup parameter that keeps track of the fact it clicked the edit, and some session to bring back the fact the update happened etc.

Or and this might work, if your repeater mashup is using GetProperties then you can do the Push Update from Server. If you edit changes property values of the Thing shown in the repeater, then the Push Update will automatically push from server to client and update in the appropriate mashup.