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

Getting file properties using trigger "For a Selected file"

I'd like to get a file properties and be able to use that in my flow. The trigger is "For a selected file" however, when I place the action: "Get File Properties" I can't use the file id from the trigger to select the needed file. I could do that in lists with for a selected item and get item, but I can't do that with files. When I click inside the "Id" field, I get the message "No dynamic content available" 

 

How can I get the properties of a selected file with flow?

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Getting file properties using trigger "For a Selected file"

 

Hi @BrittanyR ,

 

Please do like this:

84.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Getting file properties using trigger "For a Selected file"

This method works for manually created document libraries. 

We created a site using PnP, including a document library. Besides this library, we manually added another library. For the latter library the method is working. For the first one, however, the dynamic content is not accessible. 

Do you maybe have a solution to this problem? Or is this a bug?

Highlighted
Helper III
Helper III

Re: Getting file properties using trigger "For a Selected file"

@v-bacao-msft I don't get all the metadata in the Dynamic Content. Many fields in the library are missing when trying to get them from the "Get file properties" in Dynamic Content. 

Highlighted
Super User III
Super User III

Re: Getting file properties using trigger "For a Selected file"

@BrittanyR 

Can you post a screen shot of what you see in Dynamic properties?

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (2,535)