Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SharePoint - People search results web part

Posted on 2014-01-10
1
840 Views
Last Modified: 2014-05-08
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>
0
Comment
Question by:aneunz
1 Comment
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 39776169
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Relational Database 8 117
SharePoint Designer 2010 - Format Item As Changed 2 34
Issue with XSLT mapping 10 41
TSQL Query Into Specific XML Format 3 24
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question