Hi Team, <@U02SNBLDP8X> <@U02H1CTHAQ1> <@U01N003F...
# gooddata-ui
p
Hi Team, @Peter Plochan @Petr Dolejsi @Martin Burian @Robert Moucha cc: @Narinder Kumar @Alex Kearns @Balamurali Ananthan Is there a way to embed the GoodData Analyse window other than embedding it with iframes? The issue with iframes is, we can’t control the buttons on analyze window using the
iframes contentDocument
because of the different hostnames of our application and Gooddata-CN. If there’s no option other than iframes, is it possible for the GoodData team to support some query parameters which we can send to disable the buttons? Additionally, is there a way to invoke any custom event on click of Save? We are opening the Analyse window in a modal popup and we might need to rely on Save event to close the modal if none of the above options work. Regards, Prashant
p
Hi, It can be embedded only through iframe.
You can use
hideControl
URL query parameter to hide top bar, via
Copy code
?hideControl=[topBar]
I dont think there is more granularity to it
p
Thanks, @Petr Dolejsi, I believe we can use the PostMessage feature while saving the insight as mentioned here: https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/gooddata-in[…]-the-save-an-insight-event-from-embedded-analytical-designer Please let us know if there's a better approach.
p
Unfortunately not. You can use only iframe for embedding and URL parameters (limited) and postMessages are the only way how to interact with the app integrated via iframe
👍 1