2 Replies Latest reply on Apr 29, 2016 2:29 AM by vgala RSS
    vgala Apprentice

    Event communication between Parent and Contained mashup

    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.

      • Re: Event communication between Parent and Contained mashup
        pchung Collaborator

        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.