http://www.glynblogs.com/2010/11/viewing-raw-data-in-a-content-query-web-part.html
http://www.glynblogs.com/2010/11/display-a-users-picture-in-the-content-query-web-part.html
Debugging:
http://www.heathersolomon.com/blog/articles/customitemstyle.aspx
http://kyleschaeffer.com/sharepoint/sharepoint-2010-item-styles-and-ddwrt/
Other Resources
http://www.turhaltemizer.com/2010/10/sharepoint-2010-client-object-models.html
For Fields to Display, have this in Item Style.
Note: Give normal name with spaces there and in XSLT use _x005F_x0020_ for spaces.
<xsl:variable name="SafeLinkUrl">
<xsl:call-template name="OuterTemplate.GetSafeLink">
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" select="@Title"/>
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
<xsl:with-param name="UseFileName" select="1"/>
</xsl:call-template>
</xsl:variable>
http://www.glynblogs.com/2010/11/display-a-users-picture-in-the-content-query-web-part.html
Debugging:
http://www.heathersolomon.com/blog/articles/customitemstyle.aspx
http://kyleschaeffer.com/sharepoint/sharepoint-2010-item-styles-and-ddwrt/
Other Resources
http://www.turhaltemizer.com/2010/10/sharepoint-2010-client-object-models.html
For Fields to Display, have this in Item Style.
Note: Give normal name with spaces there and in XSLT use _x005F_x0020_ for spaces.
<xsl:variable name="SafeLinkUrl">
<xsl:call-template name="OuterTemplate.GetSafeLink">
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" select="@Title"/>
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
<xsl:with-param name="UseFileName" select="1"/>
</xsl:call-template>
</xsl:variable>
No comments:
Post a Comment