CQWP for recently changed Documents

Markus Kolbeck
Markus' Blog
Published in
1 min readOct 9, 2013

Situation

The SharePoint site has multiple document libraries.
On a custom start page, one web part should display all recently changed documents of the currently logged on user, rather than adding one web part for each document library.
Also, the web part should query the whole site, i.e. sub-webs should also be queried.
The CQWP should also contain a link to the corresponding document library where the document is stored.

Solution

Here is a screenshot of the result:

My Recent Documents

ItemStyle.xsl
Got help from MrFidge on stackoverflow.com — XSL — Removing the filename from the path string with the xsl template “getPath”.

WebPart

Of course you will have to change the GUIDs of the fields ….

#sharepoint

--

--