Hello All
I am trying to add the Assistant field to the People search results and I am partially successful. The value that is returned is the assistants logon name (domain\user.name). What I want to display is the assistants preferred name.
I added this line to the fetched properties field:
<Column Name="Assistant" HitHighLight="true"/>
And in the XSL:
<xsl:variable name="hasassist" select="string-length(assistant) > 0"/>
<xsl:if test="$hasassist">
<li id="AssistantField">
<xsl:text>Assistant: </xsl:text>
<xsl:apply-templates select="hithighlightedproperties/assistant" />
</li>
</xsl:if>
Does anyone has a suggestion?? Much appreciated!
I am trying to add the Assistant field to the People search results and I am partially successful. The value that is returned is the assistants logon name (domain\user.name). What I want to display is the assistants preferred name.
I added this line to the fetched properties field:
<Column Name="Assistant" HitHighLight="true"/>
And in the XSL:
<xsl:variable name="hasassist" select="string-length(assistant) > 0"/>
<xsl:if test="$hasassist">
<li id="AssistantField">
<xsl:text>Assistant: </xsl:text>
<xsl:apply-templates select="hithighlightedproperties/assistant" />
</li>
</xsl:if>
Does anyone has a suggestion?? Much appreciated!