cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RobbanaxSwe
Regular Visitor

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
v-alzhan-msft
Community Support
Community Support

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
v-alzhan-msft
Community Support
Community Support

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,188)