Hello,
We have a PowerApps form which can only display data (based on a SQL stored procedure) for a single record - which is filtered by parameters identified via QueryString variables..
(1) We have the variables set in the OnStart of App. They work.
(2) We have the PowerAutomate working - tested in PowerAutomate. It works.
(3) I'm not sure how to call the PowerAutomate flow from PowerApps. Do not want this to occur on a button click. Needs to be populated as the user opens the report - so preferably OnStart of App. Is that possible? And there are multiple fields in the stored procedure dataset which is returned. What type of object should this be stored in so it can then be accessed via text boxes, etc?
I guess as a related question - is there some way we can just write code to do this within PowerApps? Can you embed C# or VB.Net in PowerApps? This would be simple in various other apps - but seems unnecessarily complicated in PowerApps/PowerAutomate. We are being asked to test out PowerApps which is why we are trying it out using this tool - otherwise would just code it.
Appreciate any help you can offer.
Thanks,
Dan