Recently I’ve been customizing Content Query Web Parts (CQWP) whereby I override the query and supply my own CAML query. The basic steps involved in doing this are; Author the Web Part using the UI Export the Web Part using the UI Customize the Web Part .webpart file Import the customized Web Part back into … Continue reading SharePoint: Content Query Web Part Customizing the Query
New U2U CAML Query Builder Feature
U2U have launched a new version of the CAML Query Builder tool which you can now install as a feature in SharePoint. Here’s a screen shot…
Querying Document Libraries (or Pulling Teeth) With CAML
This post concerns yet another odd “feature” exhibited when using CAML to query List or Document Library content. When you create a new Document Library you get a set of default columns, “Name” and “Title” amongst them. By default when you upload a document to a document library the “Name” column metadata is populated with … Continue reading Querying Document Libraries (or Pulling Teeth) With CAML
Deleting Items from Sharepoint Document Libraries
Deleting items from Sharepoint Document Libraries or Lists should be fairly straightforward, however there are a couple of gotcha’s depending on which method from Sharepoint Webservices you want to use and accordingly, there are differences in the formatted CAML command you would use. Firstly a Document Library is a form of List, but the CAML … Continue reading Deleting Items from Sharepoint Document Libraries