Solved

SharePoint - People search results web part

Posted on 2014-01-10
1
831 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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