cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gristy
Resident Rockstar
Resident Rockstar

anyone good with odata query?

anyone good at odata filters?

 

I would like to query a SharePoint List.

 

SharePoint list has date columns Start and End.

 

the query needs to get list items that over lap with a provided start and end time.

 

So if there were 3 list items with start and end as follows:

 

20/11/2019 -> 25/11/2019

25/11/2019 -> 27/11/2019

15/11/2019 -> 20/11/2019

 

and the user provided dates 23/11/2019 -> 28/11/2019 2 of the 3 items would be returned

if the user provided 19/11/2019 -> 25/11/2019 all 3 would be returned

 

and so on.

1 REPLY 1
abm
Super User
Super User

Hi @Gristy 

 

Try to install this tool in your Sharepoint dev environment. 

 

https://appsource.microsoft.com/en-us/product/office/WA104051159?src=Office&tab=Overview

 

This tool can generate the ODATA query via UI.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,364)