Hey all,
Some strange behaviour when using the preview connection.
Within the procedure I'm invoking an external rest endpoint using the sys.sp_invoke_external_rest_endpoint, which returns a JSON string, within SQL I then parse that into a table and return the result. The only way I can get it to work is to modify the proc:
Alter Procedure dbo.myHeadache
@url nvarchar(max)
@query nvarchar(max)
AS
Begin
Select
'hello' as fieldName
-- add other required fields
-- Replace the select statement with the sys.sp_invoke_external_rest_endpoint
-- After importing into PowerApps
End
After the first load in PowerApps I can then implement the external rest call by reverting the procedure. I've also tried:
I hope this saves someone some pain.
Stay up to date on forum activity by subscribing.
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399