Monday, June 24, 2013

Show last Modified Documents on homepage SharePoint (Content Query)

In almost all the designs for customers I get the question to publish the most resent documents on the homepage. 

This can be done when the Publishing Feature on the site collection is activated.

- Edit the page
- Insert a new Web Part
- Select from the Content Rollup, Content Query
- Edit the Web Part
- At the Source select the site or the complete site collection to Query
- Select your content type (like Document Library) as List Type
- In my case I leave the Content Types set to All Content but you can filter this if you want
- At Additional Filters select Modified or Created and choose "is greater than or equal to"
- Select Custom Value for example -7 to show all documents older the 7 days
- At Appearance you can change the title of the box


When you Apply and save the page you see the last 15 documents. Off course you can do more customization with the web part but this is the basic setup.


No comments:

Post a Comment