Link to home
Start Free TrialLog in
Avatar of aneunz
aneunz

asked on

SharePoint - People search results web part

I am editing the out of the box people search core results web part and have added the manager field.  It is displaying as domainname\manager

How can I display this field as manager's First and Last Name (common name format) instead of the Active Directory account name?
Here are the pertinent lines of code that I'm using:

<xsl:variable name="hasmanager" select="string-length(manager) &gt; 0" />

<xsl:if test="$hasmanager">
          <li id="ManagerField">
            <strong>Manager: </strong>
<xsl:apply-templates select="hithighlightedproperties/manager" />
          </li>
        </xsl:if>
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial