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

Get File Content after For a Selected File is not working

Hi,

 

I'm configuring an MS flow to be triggered manually for sharepoint library files. I'm using 'Get File Content' step after 'For a Selected File' using the 'Field' as the id, but it keeps throwing error 404: File not found. How this can happen?

 

Regards,

Arsen.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get File Content after For a Selected File is not working

 

Hi @Arsen ,

 

Please try to use the following method.

We need to use Get file properties action to get the File Identifier.

Image reference:

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

View solution in original post

7 REPLIES 7
Dual Super User
Dual Super User

Re: Get File Content after For a Selected File is not working

Hi @Arsen 

 

Do the following after for a selected file,

 

Add get item action

For the list name - go to enter custom value and enter your document library name

Id property for this action will be FileId dynamic content obtained from your trigger

 

Next add get file content

File Identifier - map it to Indetifier dynamic property from Get Item action

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Arsen
Level: Powered On

Re: Get File Content after For a Selected File is not working

Hi,

Thanks for the answer.

The field(identifier) is not visible in the dynamic content for the get item action.

Regards,
Arsen.
Dual Super User
Dual Super User

Re: Get File Content after For a Selected File is not working

Hi @Arsen 

 

Sometimes dynamic content acts up

add a compose action ( and see if the Identifier options shows up under dynamic content for Get Item)

If it does add it and the copy and paste it

Community Support Team
Community Support Team

Re: Get File Content after For a Selected File is not working

 

Hi @Arsen ,

 

Please try to use the following method.

We need to use Get file properties action to get the File Identifier.

Image reference:

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

View solution in original post

Arsen
Level: Powered On

Re: Get File Content after For a Selected File is not working

Hi @v-bacao-msft ,

 

I've tried this approach... the get file properties returns error 404: File not found... which is quite weird

 

Regards,

Arsen.

Community Support Team
Community Support Team

Re: Get File Content after For a Selected File is not working

 

Hi @Arsen ,

 

Could you please provide screenshot of Flow configuration?

 

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

Re: Get File Content after For a Selected File is not working

I've just tried this approach again and it worked! Looks like I was missing something. Thanks a lot!

 

Regards,

Arsen.

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,641)