Hi,
I'm pretty to new to all this and was hoping for some help. I'm trying to upload a file to SharePoint and set the metadata using PowerApps/PowerAutomate. All worked fine until I tried to pass a name.
I'm using the PowerAppV2 Trigger:
and in "Update File Properties"...
The problem is with the code in PowerAutomate:
EasyUpload.Run(AuthorDropDown.Selected.DisplayName,{contentBytes:First(AttachmentControl.Attachments).Value,name:First(AttachmentControl.Attachments).Name})
"EasyUpload" is my flow and "AuthorDropDown" is a combobox containing "Office365Users.SearchUser({searchTerm: AuthorDropDown.SearchText})"
The error message i'm getting is "EasyUpload.Run failed: The method "run" has an invalid value for parameter "text"
I thought maybe its because AuthorDropDown is a table so I changed it to:
EasyUpload.Run(First(AuthorDropDown.Selected.DisplayName,{contentBytes:First(AttachmentControl.Attachments).Value,name:First(AttachmentControl.Attachments).Name})
but that didn't work either.
Really appreciate any help
Bethany

Report
All responses (
Answers (