
Announcements
I am very new to PowerApps and and only slightly more familiar with PowerFlow. We have built an app that uploads an employee image to a SharePoint Document Library and want to update some file properties from user input fields on the PowerApp. I can successfully upload a photo to the SharePoint document library but when I attempt to add the additional arguments from the Input fields, I get errors on the PowerApp side and the PowerAutomate flow does not run. The error I am getting is The function 'Run' has some invalid arguments.
Below is my Run script and my app screenshot:
UploadPhototoSharePointLibrary.Run(AddMediaButton1.FileName,JSON(UploadedImage1.Image,JSONFormat.IncludeBinaryData),PhotoTitleInput.Text,WhosInthePhotoInput.Text,SubmittedByInput.Text,AddMediaButton1.FileName,AdditionalInfoInput.Text,ProgramNameDropdown.Value,PhotoTagDropDown.Value,LocationDropdown.Value,AdditionalInfoInput.Text)
And here is the flow (The site address has been blocked for privacy):
And Here is the SharePoint Document library we want to house the photos and display the file properties:
If I remove the Update File Properties from the flow and remove the additional arguments from the RUN. script, the photo/image does successfully upload the file to the document library. We are attempting to organize our internal photos for our Marketing & HR Teams to use for content in their communications with our employees, clients & community.