Home > CMS- Content Management System > Sharepoint > Using CAML query show SharePoint list items for the previous and next week

Using CAML query show SharePoint list items for the previous and next week

This post was most recently updated on July 29th, 2024

In this post, I will show you how to filter the SharePoint list items for the previous week and next week from TaskDate, created by the current user. SharePoint list has the option to filter list from OOB under list view section, In this article, I will show you how can you achieve through using CAML Query as well using SharePoint OOB.

You can filter list items for the previous week and next week from TaskDate, from SharePoint OOB using list filter rule.

SharePoint OBB View Filter

Using CAML query we will show the previous week and next week list items from TaskDate column created by the current user and order by ID. You can also filter separately previous week, next week and created by current user items.

I am adding the CAML query for your reference.

Hope you find it helpful. If you liked this article, then please share and comment.

This Article is TAGGED in , , , , . BOOKMARK THE permalink.

Avatar photo
Chintan Upadhayay
I am a senior web developer with more than 4+ years experience in WordPress, PHP, MySQL, HTML, CSS, jQuery and other web technologies. I am the beginner in SharePoint and Learning SharePoint.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">