Customers can now call stored procedures in Power Automate without incurring performance penalties, leading to improved efficiency in action-based apps.
Feature Details:
Direct Stored Procedure Calls: Customers can utilize Power Fx to directly call stored procedures, eliminating the need for additional steps.
Seamless Integration: Adding a SQL Server Database object to their data sources enables customers to access Stored Procedures actions directly from the database object.
Performance Optimization: This feature helps customers avoid performance hits during app initialization by calling Power Automate. Additionally, it reduces the need to move data in and out of collections, resulting in better overall data call and update performance.
Benefits:
Enhanced User Experience: Action-based apps become easier to use with improved paging and refreshing functionalities.
Streamlined Workflow: Customers can execute stored procedures directly, simplifying the app development process.
Performance Optimization: Reduced performance penalties and improved data handling lead to enhanced app performance and user satisfaction.
Getting Started
Below is a quick one-minute video on how to quickly get started with SQL Stored Procedures using PowerFx.
The steps are:
Create SQL Connector within Connections. Ensure you have a SQL Server connector defined within your solution if you do not already, and that it has a custom Stored Procedure.
Enable SQL Server Stored Procedures within Upcoming Features. This is available from the Canvas Power App settings menu.
Add SQL as a Data Source within Power App.
Click on Data within the Maker app.
Add Data, and select your SQL Connector as a source.
Enter a SQL Server Name, and Database Name when prompted
Add your required Tables and Stored Procedures within Choose a table screen.
If the Stored Procedure is to be used in a gallery (i.e. the results are in the form of a collection of records) then select ‘Safe to use for galleries and tables’.
Now you are ready to use your SQL Stored Procedure. For example, to call a stored procedure you could write: dboTable.spMyStoredProcedure(input.text)
If you have any feedback about this tip, please do not hesitate to drop me a message via my socials.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.