cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,430)