I have created a CQWP which queries a Meetings calendar.

It groups the contents by month in date order and displays these columns: Meeting Date, Start Time, Meetings Title and Location.

I would like the Meetings Title to link to the workpace for the meeting.

Does anyone know how to do that?

2 Answers 2


You need to customise the ItemStyle XSL for the CQWP, and manually tie your CQWP webpart instance to your customised ItemStyle. You will also need to add WorkspaceLink to the CommonViewFields property in the webpart instance.

When you're editing the ItemStyle, you should be able to simply do this:

 <xsl:value-of select="@WorkspaceLink" />

To get the url to the Workspace.

So, step by step:

Add a CQWP to your page and wire it up to the list.

Export it (so it downloads as a .webpart file).

Add WorkspaceLink to CommonViewFields.

Copy ItemStyle.xsl in the site's Style Library and rename it to something like MyItemStyle.xsl.

Make the changes in the appropriate itemstyle template such that it renders your workspace link.

Upload your customised ITemSyle to the Style Library.

Go back to the .webpart file and modify the ItemStyleLink property so that it points to your new itemstyle file in the style library.

Import your edited CQWP webpart file into your page and add it.

Have a Google around for "Customising Content Query Web Parts", "customising ItemStyle" and "CommonViewFields Content Query Web Part" for more info.


I've found an easy solution for this. Add a CQWP and set the URL to WorkSpaceURL. Sorted!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.