SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to display a list of the most recently modified documents across all document libraries in a site in Sharepoint 2010. It seems that the Content Query webpart might do this for me, but the filter options seem to require me to specify an actual date (or relative date). Unfortunately some sites are more active than others, so for some sites recent might mean "this year" and for others it might mean "this week".

share|improve this question

Create a view... Sort it by the Modified Date... Specify the item limit... You can even use filter for further more requirement...

share|improve this answer
Is "create a view" in Sharepoint designer? – AdamH Jan 27 '12 at 6:37
Yes.. you can create a view from SharePoint designer... – Strider Jan 27 '12 at 6:40
I can see how to do this for a single document library, but is it possible to do this across all the document libraries on a site? – AdamH Jan 28 '12 at 23:41
If you want to have it for all libraries.. then.. you should be writing code... which creates a view dynamically on all the libraries... – Strider Jan 29 '12 at 6:33

Create new view, and modify the following settings sort : 1st column by modified, 2nd column by Modified by Folders: Show all items without folders Item Limit : reduce it to your requirement

share|improve this answer

I've used this back in the SP 2003/2007 days:

I ended up writing my own SP2010 version which is very similar but uses the changelog to get the latest items for lists that are over the listviewthreshhold.

share|improve this answer
I've currently got something working with the content query webpart, but the display isn't in a list (document library style) as the users expect. Additionally I have to configure the search query element for each site. – AdamH Jan 31 '12 at 4:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.