I was looking for a way to use the Content Query Web Part (CQWP) to pull data from all list types (not just one type) and was surprised to find that this hadn't been documented anywhere.
While at Microsoft's
SharePoint Conference 2008, I was inspired to spend a little more time looking into the properties available within an exported CQWP.
- "ServerTemplate"
- "BaseType"
Quick Instructions
1. Add a CQWP to a page and configure it to meet your needs for a single list type (for example, all items created by [Me]).
2. Export the CQWP and save it on your local machine.
3. Edit the CQWP (should be a .webpart file)
4. Replace the following properties as shown here:
<property name="ServerTemplate" type="string"/>
<property name="BaseType" type="string">0</property>
5. Save your work.
6. Import your .webpart
I hope this helps.
- Mike