Skip to main content
June 24, 2024
Question

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

  • June 24, 2024
  • 3 replies
  • 0 views

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
    June 24, 2024

    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.

    June 25, 2024

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

    demetriop6447
    June 27, 2024

    Nice post