Upload Files from Power Apps and Send To Power Automate
Hi, in this blog I will show you how you can upload files in your Power Apps and send it to your Power Automate flow.
The only issue we all face is finding the "Attachments" control under Insert. It is not given but there is turnaround for this.
In your Power Apps, insert "Edit Form" and connect it to Sharepoint Source. We won't get the attachment control if you try to connect using Dataverse table.
If you like to know, how to create a list on Sharepoint, checkout: Create a List in SharePoint
After you have inserted 'Edit Form' control on your screen, select "SharePoint" under Data Source. Next, link it with your account.
If you don't see the "Attachments" components in the "Edit Form", come to the 'Properties', click on Fields.
.Run({file: {name: First(AttachFile.Attachments).Name, contentBytes: First(AttachFile.Attachments).Value}}
Comments
Post a Comment