Skip to main content
12-Amethyst
March 1, 2016
Question

Event communication between Parent and Contained mashup

  • March 1, 2016
  • 1 reply
  • 3231 views

1. On service invoke complete of a service which lives in parent mashup how to invoke

     a. Evaluate event of Expression.

     b. ResetToDefaultValue for text box  etc

2. On True event of a validator within a contained mashup, how to invoke a service which lives in parent mashup.

Note : Parent mashup does not mean Master Mashup. Its just a mashup which has a contained mashup.

1 reply

22-Sapphire I
March 1, 2016

From a Parent you can fire a 'RefreshRequested' into a contained mashup.

There isn't a direct way to do the same from a contained mashup to the parent, so a workaround needs to be used. Either use a mashup parameter that exists in both the Parent and Contained mashup and you connect those together. Then when you set the value in the Contained mashup, you can use the MashupParameterValueChanged Event in the parent to trigger something. Or do something similar but with Session Parameters, not sure if that works though (never had to try)

If you use PopUps, there is a 'OnPopUp Closed' Event that you can use, but that doesn't look like it will apply to what you are trying to do.

vgala12-AmethystAuthor
12-Amethyst
April 29, 2016

Thanks Pai for taking time to reply on this thread. This definitely helped in arriving to a solution.