web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Image to Sha...
Power Apps
Unanswered

PowerApps Image to Sharepiont w/File Property updates

(0) ShareShare
ReportReport
Posted on by 2

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)

 

Picture1.png

 

And here is the flow (The site address has been blocked for privacy):

Picture2.jpg

And Here is the SharePoint Document library we want to house the photos and display the file properties:

Picture4.jpg

 

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.

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard