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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerAppV2 trigger - c...
Power Apps
Unanswered

PowerAppV2 trigger - can't pass a name

(0) ShareShare
ReportReport
Posted on by 12

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:

 

Bethany123_2-1686063072550.png

and in "Update File Properties"...

Bethany123_3-1686063165317.png

 

The problem is with the code in PowerAutomate:

 

Bethany123_4-1686063518169.png

 

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

 

Categories:
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Bethany123 ,

     

    I had similar issue, I fixed it using 'PowerApps' trigger instead of V2.

    Wherever you require Input from Canvas PowerApp, simply insert 'Ask from PowerApps' from dynamic content within the Flow for any field.

     

    Then update or refresh the Flow that's connected to your App.

    Now you will see that Canvas App is asking for parameters that you have asked in Flow

     

    Note: variable for asking in PowerApps depends on your Action name, so keep unique names else you will get confused

     

    Hope this helps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard