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

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 I
Helper I

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
Super User

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
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (11,483)