Solved

SharePoint - People search results web part

Posted on 2014-01-10
1
855 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
[X]
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
1 Comment
 
LVL 32

Accepted Solution

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

732 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