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 / 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:
I have the same question (0)
  • 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

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