Solved

SharePoint - People search results web part

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XML Parsing Classic ASP 5 42
PHP and Soap 3 28
Trouble parsing soap xml result 3 27
Sharepoint KB 2 24
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now