cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Spawn10
Helper III
Helper III

How do I get the properties of a selected file?

I am building a basic Flow to create a Planner task when a file is selected in a SharePoint document library. I want the add the name of the file selected, in the title of the task created, but I cannot get that to work. I can't seem to be able to get the file properties. Here is what my flow looks like

 

Flow.PNG

 

 

What am I doing wrong here? The ID in the "Get file metadata" is pulling the ID of the selected file, and the "Get file properties" action is getting the ItemId of from the "Get file metadata" action. 

Thanks for the help.

1 ACCEPTED SOLUTION

Accepted Solutions
Amanthaper
Responsive Resident
Responsive Resident

Hi @Spawn10 

You're doing the right steps.

While in  the Planner title-->Add dynamic content will show multiple places to get the file name. All your SP actions actually output a file name.

Amanthaper_1-1603816173396.png

 

Cheers,

Aman

------------------------------------------------------------------------------------------------------
If my post helps you with your problem or answers your question, please mark it Solved or Answered. This helps anyone with similar challenges. If you like my response, please give it a Thumbs Up.
------------------------------------------------------------------------------------------------------

View solution in original post

2 REPLIES 2
Sumen
Frequent Visitor

Hi,

Sumen_0-1603814641101.png

Have you tried "fileName" ?

Amanthaper
Responsive Resident
Responsive Resident

Hi @Spawn10 

You're doing the right steps.

While in  the Planner title-->Add dynamic content will show multiple places to get the file name. All your SP actions actually output a file name.

Amanthaper_1-1603816173396.png

 

Cheers,

Aman

------------------------------------------------------------------------------------------------------
If my post helps you with your problem or answers your question, please mark it Solved or Answered. This helps anyone with similar challenges. If you like my response, please give it a Thumbs Up.
------------------------------------------------------------------------------------------------------

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,936)