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 to avoid losing dbutils.widgets parameters when connecting databricks repos folder with azure dev ops?

martikev
New Contributor II

Hi guys

We want to move from databricks workspace to databricks repos. Now when we create a new folder under repos and connect to our azure dev ops repository all our dbutils.widget parameters are lost. How to avoid this? We want to fully depend on azure dev ops and not have to move files between repos folders. Is there a fix for this issue?

We normally trigger our databricks notebooks from data factory hence we want different repos folders in order to select an environment like PROD, TEST or DEV.

We need different folders in the repos folder because azure data factory is not smart enough to set the repos to a certain branch like "main" or "development".

How do you guys handle this and how do you avoid the removal of your widgets when commiting to azure dev ops?

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

@Kevin Peter M. Marti​ , Thanks for reaching out to community.databricks.com.

Input widgets allow you to add parameters to your notebooks and dashboards. Could you please elaborate a little more, how do you expect databricks repos to get involved? Also, please provide screenshots of the before and after effect.

Vidula
Honored Contributor

Hi @Kevin Peter M. Marti​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

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