locked
last 7 days records in content query web part RRS feed

  • Question

  • hi,

    is it possible to put filter condition on content query web part in the fallowing way ,

    "records modified by me in the last 7 days" ?? .I can get my records but how to put filter condition for last 7 days ? :(

    Thanks,

    Nikhil

    Tuesday, September 20, 2011 11:08 AM

Answers

  • Hi Nikhil,

     

    In that case Glyn Clough has another article

    http://www.glynblogs.com/2009/12/cqwp-1-aggregating-items-from-the-last-7-days.html

     

    Thanks,

    Sachin

    • Marked as answer by Nikhil0041 Thursday, September 22, 2011 6:08 AM
    Wednesday, September 21, 2011 9:55 AM

All replies

  • Did you try using ItemLimit property, this will enable you to limit the maximum number of records returned, refer to the following article for more information 

    http://msdn.microsoft.com/en-us/library/ff380147(v=office.12).aspx


    --Cheers
    Tuesday, September 20, 2011 1:55 PM
  • Hi Nikhil,

     

    Yes it is possible to achieve something like this using a CQWP (Content Query Web Part). You can visit the following url:

    http://www.glynblogs.com/2010/05/aggregating-items-from-past-7-days-in-sharepoint-2010.html

    Thanks,
    Sachin

     

    Tuesday, September 20, 2011 2:24 PM
  • Thanks sachin,

    but the link contains functionality for 2010 not 2007. in 2010 the functionality is provided by microsoft.

    any idea how to do it in 2007 ??

    Wednesday, September 21, 2011 5:24 AM
  • Hi Nikhil,

     

    In that case Glyn Clough has another article

    http://www.glynblogs.com/2009/12/cqwp-1-aggregating-items-from-the-last-7-days.html

     

    Thanks,

    Sachin

    • Marked as answer by Nikhil0041 Thursday, September 22, 2011 6:08 AM
    Wednesday, September 21, 2011 9:55 AM