Hey team! Question: Is it possible to embed the da...
# gooddata-cloud
m
Hey team! Question: Is it possible to embed the dashboard builder into our app? We currently have dashboards embedded in our app and they work great. But I’m wondering if it’s possible to embed the ability to create new dashboards? Thanks in advance for any info around this!
m
Hi Michael, the dashboard builder interface (used for creating dashboards) cannot be directly embedded into external applications via the dashboard component or other SDK tools at this time. The component is designed for embedding existing dashboards. You can edit and render dashboards, but enabling the dashboard creation requires users to work within our Cloud / workspace interface directly.
👍 1
t
Hello @Michael Gray, to expand on Michael’s response. The SDK allows to edit the dashboard, but it most probably does not contain the dashboard navigation panel, where the button to create a new dashboard is located. Let me check internally if this is true and if there is a possibility to programatically create a new dashboard, since the rest of the process is covered with the existing SDK dashboard component. Our iFrame embedding optionally contains the dashboard navigation panel, thus it allows to create new dashboards out of the box (assuming you have the permission to do so).
👍 1
m
Thank you both for these responses! They are very helpful. I’ll lastly be curious to hear whether or not it’s possible to programmatically create a new dashboard with the SDK, but I’m guessing it’s not. Which is ok, we are just trying to figure out the best way to support a “Create your own dashboard” feature in our app
j
Note that you can also use in IFRAME URL
https://{your-domain}dashboards/embedded/#/workspace/{workspace-id}/new-dashboard??showNavigation=false
and it will open embedded environment for creation of new dashboard
t
Hi @Michael Gray, I checked internally and you can create a new dashboard through SDK programatically The code looks like this:
Copy code
<Dashboard dashboard={undefined} config={{initialRenderMode:"edit"}}/>
where: • Specifying
dashboard={undefined}
instead of an existing dashboard ID marks your intent to create a new dashboard • And
initialRenderMode:"edit"
will open the dashboard in edit mode I hope this helps.
🙌 2
m
Awesome! Thanks for the follow-up! You guys are always really helpful 🫶