Hello,
basically I'm trying to implement a system, where employees can submit their drafts for validation by uploading a file to the list of projects in Sharepoint and then press a button, which creates a new file on the Sharepoint server in a desired folder. So far I've managed to get it to create a file in requested directory, however the file doesn't appear to have any content. I am using the Create a file in Sharepoint action in a Power Automate flow and OnSelect function for the button is
CreateFileFromAttachment.Run(First(DataCardValue8.Attachments).Name, First(DataCardValue8.Attachments).Value)
where DataCardValue8 is found under the Attachment_DataCard and I've set the action in the flow to ask for name and file content in Power Apps.
To summarize, I don't know how to get content of the attachment.

Report
All responses (
Answers (