Quantcast
Channel: PeteStilgoe.com » cqwp
Browsing all 10 articles
Browse latest View live

How to add extra fields to your CQWP that dont display as standard

1) Export your Content Query Web part to your desktop 2) Open it with Notepad and look for the following line of code: 3) Change this line to the following, and replace the portion MYINTERNALCOUMNNAME...

View Article



How to display HTML in the Dataview & Content Query Webpart (DVWP CQWP)

If you try & display rich html columns or any other columns that uses HTML in a DVWP/CQWP it will display as the actual HTML as opposed to outputting it as HTML formatted text. If you added your...

View Article

Sharepoint 2010: Group by content type or filter by content type

For some strange reason MS have stopped you from being allowed to group & filter by content type in Sharepoint 2010 views which seems really odd? I have searched the web and cant find an answer,...

View Article

Using a CQWP to display items from a link list

If you point an OOTB CQWP to a Sharepoint Link List it will surface your links but each link will be displayed as (Blank) as its defaulting to display the Title column which is blank, it also links to...

View Article

Sharepoint CQWP How to format date from mm/dd/yyyy to UK dd/mm/yyyy

To format your Sharepoint content query webpart to UK date format do the following: In your ItemStyle.xsl add the following line to your declarations:...

View Article


Sharepoint CQWP: XSL to link document icon to document and open in edit mode

The xsl code will display & make the document icon link to the sepcific document & open it in edit mode in your content query webpart: <a href="{$SafeLinkUrl}" title="{@LinkToolTip}">...

View Article

Sharepoint 2010 CQWP: Make the CQWP portable by using tokens to point to the...

Target the CQWP to the current site export the CQWP, Edit & replace the WebUrl with below: <property name="WebUrl" type="string">~Site</property> To target the CQWP for the Site...

View Article

Sharepoint CQWP: XSL template to display document details

An example XSL template to display document details in a content query webpart: <xsl:template name="DocumentsDetails" match="Row[@Style='DocumentsDetails']" mode="itemstyle"> <xsl:variable...

View Article


How to display a URL hyperlink in a CQWP

In the relevant template section in itemstyle.xsl add a line something like (replacing the column name with the your column containing the URL): LiveView: <a...

View Article


How to format a date field in a CQWP

To format a date field in a Sharepoint Content Query Webpart (CQWP) you can do the following: 1) Edit your itemstyle.xsl 2) Add a reference to...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images