Hi,
I have built an app and within the app I have a button that submits a form, and then triggers a flow which all works fine.
The issue I'm having is the code seems to be opening sharepoint once it has ran to complete which I need to avoid, but I can't see why. I have pasted my code below.
Thanks.
// convert the table data into a JSON
Set(
varJSON,
JSON(
ShowColumns(
IDFWResponse,
"UserResponse",
"field_1",
"field_2",
"field_3",
"field_4",
"field_5",
"field_8"
),
JSONFormat.IndentFour
)
);
// run the flow
Set(
varCSVFile,
IDWFPowerAppsToExcel.Run(varJSON, varUniqueID).linkoutput
);
// download the file to Excel
Download(varCSVFile);