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

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.
------------------------------------------------------------------------------------------------------

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,955)