Skip to main content
New Participant
Jun 24, 2024 3:06 PM UTC
Question

Accessing window.postMessage() and window.addEventListener()

Hi all, 

browser window object has the ability to listen and post events. Is there a way in Appian to access the window object to listen and post messages? Why? I have a use case where the webcomponent (iframe) and Appian proper can communicate. The page in the webcomponent is a micro frontend. 

Thank you,

Thanou

    3 replies

    stefanhelzle0001
    Brainy
    Jun 24, 2024 5:29 PM UTC

    The web content component is fully isolated, and no communication whatsoever is possible. If you need any external web content to talk to Appian UI, you need to implement a component plugin.

    New Participant
    Jun 25, 2024 12:59 PM UTC

    Thank you Stefan. Read about it and it looks promising to create a shell that will contain micro frontends. 

    demetriop6447
    New Participant
    Jun 27, 2024 5:40 AM UTC

    Nice post