cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

how can I export dashboard to HTML?

dbickshammer
New Contributor II

Now I can successfully export notebook view to HTML using job api (run export).

However how can I export dashboard view which is generated by the tab of 'show in dashboard view' to HTML? the tab is on the right top of the corner in the cell.

I want an automating process to do it.

1 ACCEPTED SOLUTION

Accepted Solutions

Hubert-Dudek
Esteemed Contributor III

Use API jobs export (so easiest put on schedule get latest run id and export it)

https://docs.databricks.com/dev-tools/api/latest/jobs.html#runs-export

Request structure

run_id

views_to_export (CODE, DASHBOARDS, or ALL). Defaults to CODE.

View solution in original post

2 REPLIES 2

Hubert-Dudek
Esteemed Contributor III

Use API jobs export (so easiest put on schedule get latest run id and export it)

https://docs.databricks.com/dev-tools/api/latest/jobs.html#runs-export

Request structure

run_id

views_to_export (CODE, DASHBOARDS, or ALL). Defaults to CODE.

kyxam
New Contributor II

Hi @Retired_mod ! I am wondering how to export a dashboard tab from a notebook and I found this old topic.

I am not able to find the "views_to_export" parameter that @Hubert-Dudek refers to in docs. May the docs have been updated and now the parameter is called another way?

Thanks in advance

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group