iframe-interaction

Iframe Interaction

Stable version 1.0.1 (Compatible with OutSystems 11)
Published on 15 December 2020 by 
5.0
 (2 ratings)
iframe-interaction

Iframe Interaction

Documentation

Setting up communication:

-In Parent Window: 

  • To dispatch events:
    • Use the web block ParentToIframeEventDispacherFunction inside of the page, only once;
    • Use the Server Action DispatchParentEvent to dispatch an event;


-In Iframe:

  • To dispatch events:
    • Use the web block IframeToParentEventDispacherFunction inside of the page, only once;
    • Use the Server Action DispatchIframeEvent to dispatch an event;


-Both In Iframe or Parent:

  • To listen to events:
    • Use one web block IframeOrParentEventListener for each event you want to respond to, the button associated to it and the input to fill with the response if needed;