Variables Archives - Microsoft Power Platform Blog Innovate with Business Apps Wed, 22 Jan 2025 00:09:41 +0000 en-US hourly 1 SQL Server environment variables available for Power Apps http://approjects.co.za/?big=en-us/power-platform/blog/power-apps/sql-server-environment-variables-available-for-power-apps/ Wed, 22 Jan 2025 00:09:39 +0000 We are excited to announce that SQL Server environment variables (Entra) for Power Apps support is currently rolling out and will be in Preview regions by Jan 22 and in all regions – including sovereign – by Feb 3. SQL Server environment variables (Entra) for Power Apps will save you time moving your solutions from

The post SQL Server environment variables available for Power Apps appeared first on Microsoft Power Platform Blog.

]]>
We are excited to announce that SQL Server environment variables (Entra) for Power Apps support is currently rolling out and will be in Preview regions by Jan 22 and in all regions – including sovereign – by Feb 3.

SQL Server environment variables (Entra) for Power Apps will save you time moving your solutions from one environment to another. For example, from an environment used for dev or test to a different environment used for test or production. Manually create environment variables in your solution or set a switch in your app to auto-create them for you when you add a data source to your app while in your solution. Note that this feature is specifically for Entra. Power Apps with shared connections (e.g., SQL Auth) continue with connection references.

There are two environment variables to set for SQL connections: server and database. The database environment variable depends on the server environment variable. First you create an environment variable for your server. Once that is created you can create an environment variable for the database that attaches to the server environment variable.

A screenshot of a computer
A screenshot of a computer

Use an environment variable by selecting to create data source and instead of creating a new server database combo, use the ‘Advanced’ tab to select the environment variable to bind to the controls in your app.

A screenshot of a computer

Use SQL Server environment variables (Entra) to easily enable professional deployment patterns. See the documentation for this feature for an in-depth discussion: Use environment variables in Power Platform solutions – Power Apps | Microsoft Learn

The post SQL Server environment variables available for Power Apps appeared first on Microsoft Power Platform Blog.

]]>
Improved variables and collections experience in Canvas Designer http://approjects.co.za/?big=en-us/power-platform/blog/power-apps/improved-variables-and-collections-experience-in-canvas-designer/ Mon, 24 Apr 2023 17:02:37 +0000 Creating variables and collections is an essential part of the app building process. Therefore, we are excited to announce the general availability of an improved, seamless experience that enables makers to see variables and collections directly in-line with the canvas designer! Gone are the days of switching between the app designer and backstage to set

The post Improved variables and collections experience in Canvas Designer appeared first on Microsoft Power Platform Blog.

]]>
Creating variables and collections is an essential part of the app building process. Therefore, we are excited to announce the general availability of an improved, seamless experience that enables makers to see variables and collections directly in-line with the canvas designer!

Gone are the days of switching between the app designer and backstage to set and manage variables and collections. In the new experience, app makers can now define and interact with them in real-time while designing the app. This creates an intuitive and seamless app-building process where makers can focus on building apps efficiently without unnecessary back and forth clicks.

graphical user interface, application
New variables pane in Canvas Designer

View variables in app

While both variables and collections are defined the same way – using Power Fx, the new Variables panel is now available as part of the left rail in the app designer. Within the new Variables panel, it contains global variables, context variables, component variables, and collections. When each section is expanded, you can interact with each variable to view its definition, direct and indirect uses. By clicking on the results, the item in the app is then selected and shown on the relevant page with the formula bar highlighted.

graphical user interface, application
Interacting with the new variables pane and launching the modal

View collections in app

Collections are located in the same panel, right underneath Variables. By clicking on ‘View Table’ in the ellipses, a modal appears showing the details of all the variables and collections established in the app. In the same modal, you can also view all the other variables in details, such as images or tables.

graphical user interface, text, application
Modal showing variables and collection details

Learn More

For more information on setting variables or creating collections in canvas, please refer to further documentation below:

The post Improved variables and collections experience in Canvas Designer appeared first on Microsoft Power Platform Blog.

]]>