
Announcements
Hi team,
I am using Automate to push the file to sharepoint from Power app. I am getting error in save button after attaching the file.
Above is the automate , we are using.
AttachemntFunctionality.Run({
contentBytes: First(Attachements.Attachments).Value,
name: First(Attachements.Attachments).Name
}
);
Getting error Invalid argument type, expecting a text value instead for the Save button with the above formula.
Hi @SaiBolla ,
Please try:
1\Convert the attachment's file content into base64 string in canvas app and then pass it to flow
2\Use 'dataUriToBinary' to parse the base64 string and then put it into the 'file content'
I think this link will help you a lot:
Best Regards,
Bof