cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BrittanyR
Level: Powered On

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
Community Support Team
Community Support Team

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.
ciato
Level: Powered On

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?

BrittanyR
Level: Powered On

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. 

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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,808)