cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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

3 REPLIES 3

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.

Kaniz
Community Manager
Community Manager

Hi @Madison Lei​  , Just a friendly follow-up. Do you still need help, or does the above response help you to find the solution? Please let us know.

kyxam
New Contributor II

Hi @Kaniz ! 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