tips & tricks

  • Provisioning Content Query Web Part querying subsites in a structured and repeatable way

    Today, while working on a brand new SharePoint Web Content Management (WCM) solution, I’ve faced quite a challenge: I needed to provision a Content Query Web Part (CQWP) which would query subsites of the current site using a custom Site Definition. Each time user would create a site using that Site Definition, he would get on the home page an aggregation of the content from all underlying sites. It’s more challenging than it sounds and you won’t know it unless you had to do it yourself once.

  • SharePoint developer bookmarklets updated

    SharePoint developer bookmarklets got updated: 87 bookmarklets to get you as quickly as possible to the most frequently used SharePoint functionality. Get the latest version now and save time for the cool stuff instead of clicking around.

  • Extending Content Query Web Part with custom data

    Have you ever found yourself in a situation when you were working with the Content Query Web Part (CQWP) and you wished it could provide you with some more information? While many SharePoint developers create they custom aggregation solutions you should know better than that. Content Query Web Part can provide you with almost any kind of information that you need and all that with only a few lines of code!

  • Including Welcome Pages in the search scope in SharePoint Web Content Management solutions

    When using SharePoint search in a Web Content Management (WCM) solution you are very likely to create your scope which will include Publishing Pages only. As other pages like Application Pages and Lists' Forms are not accessible by anonymous visitors you don't want them to appear in the search results on the public site. While creating what I call a 'public scope' is rather straight-forward there is one thing you have to keep in mind to make it work as expected.