Microsoft has introduced a new feature that allows direct calling of SQL stored procedures in Canvas Apps using Power FX. Previously, this required the use of Power Automate flows. To call a stored procedure in a Canvas app, you need Microsoft Dataverse access and an existing SQL stored procedure. After connecting to the SQL Server, you can select the stored procedure and designate it as safe for integration within galleries and tables. The stored procedure should have no adverse effects when called multiple times and should return a manageable amount of data. To call the stored procedure with Power FX, you can use the formula "Table(D365.dboGetCompanyAllDetails().ResultSets.Table1)". This feature streamlines the app development process and enhances performance.
Login now to access my digest by 365.Training