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

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

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (5,894)