Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a reference, I have added the following to my webpart file:

<property name="ViewFieldsOverride" type="string">
  <![CDATA[<ProjectProperty Name="Title" />]]>

and the following to my XSL:

<xsl:value-of select="@ProjectProperty.Title" />

This is still not bringing in the site titles.

What can I do to achieve this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.