Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fabric lifecycle management tools allow for the simple collaboration and continuous development of analytical solutions across multiple environments like testing and production. To lean more about these tools and processes see: Introduction to CI/CD in Microsoft Fabric
When deploying solutions across environments, you may want to configure properties that are unique to each environment so your testing environment points to test data and your production environment points to production data. Workspace variables make this possible.
You can use workspace variables within individual shortcut properties. This allows you to have unique values for properties like connection ID or target ___location for each environment. Workspace variables and variable values sets can be defined within a variable library. See: Learn how to use Variable libraries .
Once a variable is defined within a variable library, it can be assigned to a shortcut property using the manage shortcuts UX.
Important
This feature is in preview.
Assign a variable through the UX
Open a lakehouse and select an existing shortcut
Right click on the shortcut and choose Manage Shortcut
Select Edit variables and choose the desired property to assign the variable to.
Assign a variable from the variable library
Once the variable is assigned, the variable name and variable value appear below the shortcut property
Note
Only variables of type string are supported. Selecting a variable of any other type results in an error.
Note
Assignment of workspace variables through the shortcuts REST API is not currently supported.