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

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

Welcome to Databricks Community: Lets learn, network and celebrate together

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.