02-02-2022 01:28 AM
Goal: I would like to have dashboard in notebooks to be added to repos (github)
When commit and push changes to github, the dashboard part is not included. Is there a way to include the dashboard in the repo?
When later pull data, only notebook code is present the dashboard is missing.
02-02-2022 06:16 AM
There is API to get dashboards. So you would need to deploy custom CI/D deployment with step to get dashboard and dashboard elements through API and than save returned json to git. You could also deploy some script to azure funtion or aws lambda to do that.
02-02-2022 01:39 AM
Hi
There is currently no method to include dashboards/widgets in repos. This is by design since the notebook representation in git is SOURCE which does not preserve widget or dashboard parameters. The same has been outlined here:
https://docs.databricks.com/repos.html#incoming-changes-clear-the-notebook-state
02-02-2022 04:56 AM
OK, thanks for you reply 🙂
02-02-2022 06:16 AM
There is API to get dashboards. So you would need to deploy custom CI/D deployment with step to get dashboard and dashboard elements through API and than save returned json to git. You could also deploy some script to azure funtion or aws lambda to do that.
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.