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:ย 

databricks dashboard deployment question

anilsampson
New Contributor III

Hello, i am trying to run a databricks dashboard via workflow.

when i deploy the dashboard .json file in prod workspace via import dashboard option the dashboard_id is changed.

is there a way i can deploy this without having to re-deploy my workflow with the new dashboard id generated after importing the dashboard in prod workspace ?

would deploying it as a part of a bundle keep the dashboard_id the same as development?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Advika
Databricks Employee
Databricks Employee

Hello @anilsampson!

From what I understand, when you import a dashboard into another workspace, a new dashboard_id is always generated.
Deploying with a Databricks Asset Bundle does not keep the dashboard ID the same across different workspaces. Each workspace gets its own unique ID.
To automate workflow references, deploy the dashboard in the new workspace, then use the bundle bind command to link your bundle to the new dashboard. After this, the dashboard ID will remain stable for future deployments in that workspace.

Let me know if that doesnโ€™t work out.

View solution in original post

1 REPLY 1

Advika
Databricks Employee
Databricks Employee

Hello @anilsampson!

From what I understand, when you import a dashboard into another workspace, a new dashboard_id is always generated.
Deploying with a Databricks Asset Bundle does not keep the dashboard ID the same across different workspaces. Each workspace gets its own unique ID.
To automate workflow references, deploy the dashboard in the new workspace, then use the bundle bind command to link your bundle to the new dashboard. After this, the dashboard ID will remain stable for future deployments in that workspace.

Let me know if that doesnโ€™t work out.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now