Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding fetched properties to People Core Search Results

Status
Not open for further replies.

hammnet

IS-IT--Management
Nov 1, 2011
17
US
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) &gt; 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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top