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

Test for existens of a specific file in SharePoint Document Library

I need to check if a specific file exists in a specific folder in a SharePoint Document Library. I've tried buliding a ODATA query for this, but I can't seem to get it to work.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Test for existens of a specific file in SharePoint Document Library

Hi @RobbanaxSwe ,

 

If you want to use the ODATA query in the Get files action, please make sure the Title property of the file is setted be same with the file name as screenshot below:

1.png

Then you could refer to screenshot below to create the flow:

2.png

 

If you don't want to set the Title property of the files, you could use the "Filter Array" action as screenshot below:

3.png

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

1 REPLY 1
Community Support Team
Community Support Team

Re: Test for existens of a specific file in SharePoint Document Library

Hi @RobbanaxSwe ,

 

If you want to use the ODATA query in the Get files action, please make sure the Title property of the file is setted be same with the file name as screenshot below:

1.png

Then you could refer to screenshot below to create the flow:

2.png

 

If you don't want to set the Title property of the files, you could use the "Filter Array" action as screenshot below:

3.png

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

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 Kudoed Authors
Users online (5,230)