CQWP for recently changed Documents
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:
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