Embedding via iFrame vs GD.UI DashboardView

  • 4 May 2021
  • 2 replies
  • 156 views

Userlevel 2

Here are the basic pros and cons of embedding Dashboards using an iframe opposed to integrating Dashboards using GoodData.UI <DashboardView /> component.

iframe

  • Easy to set up
    • See the screenshot below for how to get the right URL
  • Standard HTML
    • No additional frameworks, tooling or skill required
  • Generally low performance
    • Especially the initial load can be slow
  • Cumbersome interactivity
    • Communication between the iframe and its parent application is done via window.postMessage() method that by design comes with some pitfalls
  • May not comply with your security requirements

GD.UI <DashboardView /> Component

  • Requires frontend developer knowledge to set up
    • Basic React understanding is needed
  • Great performance
    • No different from the speed of the application where it’s integrated
  • Seamless interactivity
    • There are no boundaries as the dashboard becomes a native part of the application
  • No additional security aspects to consider

 


2 replies

This section of the examples gallery nicely shows the DashboardView component flexibility.  

This section of the examples gallery shows the DashboardView component flexibility.

Reply