Last active
January 23, 2023 14:35
-
-
Save nacm/7951362676c2e1de5b9c752f438a10fc to your computer and use it in GitHub Desktop.
Prepare PowerApps Gallery Content for Download as csv file using Power Automate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is written for the blog post. | |
//Visit full post at: https://n-digits.com.au/blog/2023/01/23/solved-how-to-download-csv-from-power-apps-gallery/ | |
ClearCollect(DownloadData, ForAll(Gallery8.AllItems,{ | |
ID:ThisRecord.ID, | |
Column1:ThisRecord.Column1, | |
'Column 2':ThisRecord.Column2, | |
//Add As many columns here | |
})); | |
//Run flow - Change flow name | |
Set(DownloadCSV,FlowName.Run(JSON( | |
DownloadData, | |
JSONFormat.IncludeBinaryData)).filelink); | |
//Download File | |
Download(DownloadCSV) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment