• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

Content Query Web Part: How to filter information by date?

Hello. I have a Content Query Web Part on my page fetch news from subsite (pages). Every page includes publishing startdate and enddate columns. Is it possible to use Content Query Web Part to only show the pages where the current day is beetween end and start dates?
1 Solution
This image is what you want right?

I made the following, and am querying against the site collection:

- /publishing (site collection root)
- /publishing/site1 (sub-web)
- /publishing/site2 (sub-web)

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now