People Search in 9.0.2

I had a report that queried WWSEC_PUBLIC_DIRECTORY in Release 1 to query the names, addresses, etc from the Portal users based on parameters.
How can I do this in Release 2?
Release 1 code fragments:
select FIRST_NAME ||' '||LAST_NAME NAME,
WORK_PHONE, ORGANIZATION
from PORTAL30.WWSEC_PUBLIC_DIRECTORY
where user_name not like ''PORTAL%''
and ( last_name like upper(:lastname)||''%''
and first_name like upper(:firstname)||''%' )
Release 2:
WWSEC_PUBLIC_DIRECTORY does not have values for first_name, etc.
I can see the info with PORTAL.WWSEC_API_PERSON_INFO(), but how can I do the query based on first name, last or phone?
Gary

Hi,
In release 2 the info is available in OID server. Portal tables wont be having all the information in the OID server. Hence selecting from this table may not return all the info.
Thanks,
Sharmila

Similar Messages

  • Exporting to Excel from Aria People Search

    Is it possible to export to Excel from Aria People Search.
    I would like to output the Org Chart (built in) and the Tree (I created) to an Excel file.
    Does anyone know how to do this?
    Thanks,
    Tom

    Hi,
    If you are using 10g, then OLE2 is supported. However, it will be executed in the App Server Machine.
    If you want to do the operation in the Client machine (as how it was done in the Client / Server), you need to use Client_OLE (Which is part of WebUtil).
    Look at
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    for more details on WebUtil.
    HTH.
    Regards,
    Arun

  • SharePoint 2013 Search Display Template People Search Mobile Phone

    Hello,
    I'd like to customize the people search result page. I already added some custom profile properties without any problem. But, when adding the MobilePhone field nothing is display.
    I've created a new display template based on the "Item_Person.html" file. 
    Added the "MobilePhone" field in the ManagedPropertyMapping section
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;WorkPhone&#39;:&#39;WorkPhone&#39;,&#39;MobilePhone&#39;:&#39;MobilePhone&#39;,&#39;Room&#39;:&#39;Room&#39;,&#39;Werkgebieden&#39;:&#39;Werkgebieden&#39;,&#39;AboutMe&#39;:&#39;AboutMe&#39;,&#39;AccountName&#39;:&#39;AccountName&#39;,&#39;BaseOfficeLocation&#39;:&#39;BaseOfficeLocation&#39;,&#39;Department&#39;:&#39;Department&#39;,&#39;HitHighlightedProperties&#39;:&#39;HitHighlightedProperties&#39;,&#39;Interests&#39;:&#39;Interests&#39;,&#39;JobTitle&#39;:&#39;JobTitle&#39;,&#39;LastModifiedTime&#39;:&#39;LastModifiedTime&#39;,&#39;Memberships&#39;:&#39;Memberships&#39;,&#39;PastProjects&#39;:&#39;PastProjects&#39;,&#39;Path&#39;:&#39;Path&#39;,&#39;PictureURL&#39;:&#39;PictureURL&#39;,&#39;PreferredName&#39;:&#39;PreferredName&#39;,&#39;Responsibilities&#39;:&#39;Responsibilities&#39;,&#39;Schools&#39;:&#39;Schools&#39;,&#39;ServiceApplicationID&#39;:&#39;ServiceApplicationID&#39;,&#39;SipAddress&#39;:&#39;SipAddress&#39;,&#39;Skills&#39;:&#39;Skills&#39;,&#39;UserProfile_GUID&#39;:&#39;UserProfile_GUID&#39;,&#39;WorkEmail&#39;:&#39;WorkEmail&#39;,&#39;WorkId&#39;:&#39;WorkId&#39;,&#39;YomiDisplayName&#39;:&#39;YomiDisplayName&#39;</mso:ManagedPropertyMapping>
    3. Added a variable:
    var has_MobilePhone = !$isEmptyString(ctx.CurrentItem.MobilePhone)
    4. Copied the "WorkPhone" display section and changed the values to MobilePhone
    <!--#_
    if(has_MobilePhone == true) {
    _#-->
    <div id="MobilePhoneField">
    <!--#_
    var encodedMobilePhone = ctx.CurrentItem.MobilePhone;
    var displayMobilePhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "MobilePhone");
    if ($isEmptyString(displayMobilePhone)) { displayMobilePhone = encodedMobilePhone }
    _#-->
    <div id="MobilePhoneValue" class="ms-srch-ellipsis" title="_#= encodedMobilePhone =#_">MobilePhone: _#= displayMobilePhone =#_ </div>
    </div>
    <!--#_
    _#-->
    Unfortunally the mobilephone does not appear in my search results. 
    What did I missed?

    First of all thank you for this quick reply.
    I changed all the properties from MobilePhone to CellPhone, but without result.
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;WorkPhone&#39;:&#39;WorkPhone&#39;,&#39;CellPhone&#39;:&#39;CellPhone&#39;,&#39;Room&#39;:&#39;Room&#39;,&#39;Werkgebieden&#39;:&#39;Werkgebieden&#39;,&#39;AboutMe&#39;:&#39;AboutMe&#39;,&#39;AccountName&#39;:&#39;AccountName&#39;,&#39;BaseOfficeLocation&#39;:&#39;BaseOfficeLocation&#39;,&#39;Department&#39;:&#39;Department&#39;,&#39;HitHighlightedProperties&#39;:&#39;HitHighlightedProperties&#39;,&#39;Interests&#39;:&#39;Interests&#39;,&#39;JobTitle&#39;:&#39;JobTitle&#39;,&#39;LastModifiedTime&#39;:&#39;LastModifiedTime&#39;,&#39;Memberships&#39;:&#39;Memberships&#39;,&#39;PastProjects&#39;:&#39;PastProjects&#39;,&#39;Path&#39;:&#39;Path&#39;,&#39;PictureURL&#39;:&#39;PictureURL&#39;,&#39;PreferredName&#39;:&#39;PreferredName&#39;,&#39;Responsibilities&#39;:&#39;Responsibilities&#39;,&#39;Schools&#39;:&#39;Schools&#39;,&#39;ServiceApplicationID&#39;:&#39;ServiceApplicationID&#39;,&#39;SipAddress&#39;:&#39;SipAddress&#39;,&#39;Skills&#39;:&#39;Skills&#39;,&#39;UserProfile_GUID&#39;:&#39;UserProfile_GUID&#39;,&#39;WorkEmail&#39;:&#39;WorkEmail&#39;,&#39;WorkId&#39;:&#39;WorkId&#39;,&#39;YomiDisplayName&#39;:&#39;YomiDisplayName&#39;</mso:ManagedPropertyMapping>
    var has_CellPhone = !$isEmptyString(ctx.CurrentItem.CellPhone)
    <!--#_
    if(has_CellPhone == true) {
    _#-->
    <div id="CellPhoneField">
    <!--#_
    var encodedCellPhone = ctx.CurrentItem.CellPhone;
    var displayCellPhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "CellPhone");
    if ($isEmptyString(displayCellPhone)) { displayCellPhone = encodedCellPhone }
    _#-->
    <div id="CellPhoneValue" class="ms-srch-ellipsis" title="_#= encodedCellPhone =#_">CellPhone: _#= displayCellPhone =#_ </div>
    </div>
    <!--#_
    _#-->
    Can you please tell me what I need to change?

  • How to create a Display template for people search results

    Hi,
    I've just installed Sharepoint 2013 and started to play around with it. Seems to be many improvements - among these are the ability to create Display templates.
    On my publishing page there is a default "employee lookup" app which returns prefferred name, title and department as default when I try to search.
    I would love to return mobile number aswell so I have tried to do the following:
    I made a copy of Display _Catalogs/Masterpages/Display Templates/Search/Item_Person.html
    Edited that one with the following:
    1. Added 'MobilePhone':'MobilePhone' to the "Managed Property mapping" in the top of the html   document:
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','MobilePhone':'MobilePhone','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName'</mso:ManagedPropertyMapping>
    2. Set a var in the <body> with:
    var has_MobilePhone = !$isEmptyString(ctx.CurrentItem.MobilePhone);
    Created the following based on "DepartmentField":
    if(has_MobilePhone == true) {
    _#-->
    <div id="MobilephoneField">
    <!--#_
    var encodedMobilePhone = $htmlEncode(ctx.CurrentItem.MobilePhone);
    var displayMobilePhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "MobilePhone");
    if ($isEmptyString(displayMobilePhone)) { displayMobilePhone = encodedMobilePhone}
    _#-->
    <div id="MobilePhoneValue" class="ms-srch-ellipsis" title="_#= encodedMobilePhone =#_"> _#= displayMobilePhone =#_ </div>
    </div>
    <!--#_
    Saved the document to the masterpage galary and edited the search result page to (people search core results webpart) to "use a single template to display items" and selected my display template.
    Now the search result is still working but I get no mobile numbers to show up in the user info (only in the details which is default).
    Anyone has some bright ideas of what i'm missing?. I'm not used to code (which might be the cause :-)). If you also have an idea on how to make the value of the number = Mobile: <mobilenumber>. So the "Mobile:" static text is displayed
    aswell.
    Thanks a lot for your time.

    Hello,
    I did the same with my new SharePoint 2013 (I would like to display the mobile phone too) but without any chance. Have you done anything else ?
    This is my User Property "CellPhone" :
    http://www.cladstrife.com/CellPhone_Prop.png
    The ManagedPropertyMapping :
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName','CellPhone':'CellPhone','HomePhone':'HomePhone'</mso:ManagedPropertyMapping>
    The "if_exist" variable :
    var has_cphone = !$isEmptyString(ctx.CurrentItem.CellPhone);
    And the "display" code :
    <!--#_
    if(has_cphone == true) {
    _#-->
    <div id="CPhoneField">
    <!--#_
    var encodedCPhone = $htmlEncode(ctx.CurrentItem.CellPhone);
    var displayCPhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "CellPhone");
    if ($isEmptyString(displayCPhone)) { displayCPhone = encodedCPhone}
    _#-->
    <div id="CPhoneValue" class="ms-srch-ellipsis" title="_#= encodedCPhone =#_"> Mobile: _#= displayCPhone =#_ </div>
    </div>
    <!--#_
    _#-->
    If I delete the test lines in the display code (if(has_cphone == true) it show "Mobile:" but without any mobile number.
    Thanks for your help if any idea :)
    Best regards
    Gabriel

  • Error on hover panel of people search result "We weren't able to find additional information"

    In people search result while hovering over all result item, in the hover panel in the middle I can see a message "We weren't able to find additional information".
    I saw a msdn post for the same question in this
    MSDN Link
    but there it is said that "If the person has no authored documents, then it will display this in the hover panel: We weren't able to find additional information."
    But for my case the authored document is also shown.
    Please find in the screen shot below marked in red:
    Did I missed something?

    Can you check for this issue in ULS Log file.
    If this helped you resolve your issue, please mark it Answered

  • People Search results links are incorrect?

    Hello Everyone,
    Just setup People Search on SP2013 SP1 (July 2014 CU).  I have not used it in the past.
    I am finding that after I search for a staff member the results show fine.  However if I click on the user link to go to their MySite page I get the "Sorry, something went wrong" page with "User not found".
    When comparing the URLs I see this difference:
    Url from search result -
    https://.../Person.aspx?accountname=DOMAIN%255Cusername
    Url to the users MySite -
    https://.../Person.aspx?accountname=DOAMIN%5Cusername
    It appears is adding a 25 in the url preventing the "\"?
    Can anyone confirm if this is a bug in SharePoint 2013 SP1 (July 2014 CU)?
    I came across these articles which leads to think so.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/17005728-3e68-49f5-8882-85cc8260e53b/people-search-error?forum=sharepointgeneral
    http://sharepoint.stackexchange.com/questions/97882/my-sites-link-in-search-resuls-is-incorrect-escaped

    Yeah, that's a known issue caused by the MS14-022 security patch.
    It is hoped that it's in the September CU according to Stefan's comment in the link below:
    http://blogs.technet.com/b/stefan_gossner/archive/2014/08/13/august-2014-cu-for-sharepoint-2013-has-been-released.aspx

  • People Search without My Sites

    Hi,
    We are building our corporate intranet and trying to implement people search in our SharePoint 2013 Enterprise edition environment. The environment has been updated up to August CU and I am implementing host-named site collections. The challenge faced is
    that we don’t want to implement My Sites at this point. However all reading material points to having My Sites to implement people search. I have set up the User Profile service and imported users from Active Directory. All I want is to be able to search the
    User Profiles and display results. Is there any other option besides implementing My Sites? Would setting up the My Site host collection without actually setting up My Sites do the trick?
    Thanks for your help in advance.
    Mera

    You need to setup a MySites host in order to take advantage of profiles.  You do not need to have mysites enabled for people search to work.  If you're worried about MySites being enabled you can keep self site creation turned off and turn off
    the social features.
    MCITP-EA | "Never test how deep the water is with both feet"

  • People Search question in Ent Search 2013

    There's a recommendation for breaking our s3://My_Site_host_URL into its own Content Source for People Search
    How does the Seach know to connect Standard Names (ex: AnneW or A. Weiler below) to document search. Do I have to map that in Managed Properties manually, or it happens automajically?
    http://technet.microsoft.com/en-us/library/dn535606(v=office.15).aspx
    •         sps3://My_Site_host_URL, which is for crawling user profiles
    However, if you are deploying "people search", we recommend that you create a separate content source for the start address sps3://My_Site_host_URL and run a crawl for that content source first. The reason for doing this is that after the crawl
    finishes, the search system generates a list to standardize people's names. This is so that when a person's name has different forms in one set of search results, all results for that person are displayed in a single group (known as a result block). For example,
    for the search query “Anne Weiler”, all documents authored by Anne Weiler or A. Weiler or alias AnneW can be displayed in a result block that is labeled "Documents by Anne Weiler". Similarly, all documents authored by any of those identities can
    be displayed under the heading "Anne Weiler" in the refinement panel if "Author" is one of the categories there.

    Hi Kali,
    Form the article, it seems SharePoint search mechanism will automatically generates a list to standardize people's name. You could test it in your envrionment via the steps below:
    Access Search Administration page >  Content sources.
    Remove sps3://myhost in Local SharePoint sites, create a new content sources named "people", and add sps3://myhost to it. Start a full crawl.
    I use Anne Weiler as example. Make sure the User Profile has been imported. Also upload some documents authored by A.Weiler or alias. Start a cremental crawl in related content resource.
    Access search center, and test the issue. Use the keyword "author:Anna Weiler" "author:A.Weiler" and "author:alias" and see the results.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • People Search and a Custom Property

    I am trying to surface a custom property in the people search query results. For example,
    http://<servername:port>/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'
    I get XML results but when I look at the properties returned for each of the people result, there are no custom properties from user profile properties. How can I modify the custom properties so that they start showing in the XML results for people search?
    Rank, DocId, AboutMe, AccountName, BaseOfficeLocation, Department etc.
    Please let me know.
    Thanks!
    Update: I am using SearchExecutor class and its ExecuteQuery API.

    Hi,
    Thank you for your sharing! It will be beneficial to others in this forum who meet the same issue in the future.
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • People search portlet problems

    Hi, I'm trying to use the built in People Search application in Portal 3.0.9.8.1. When I enter a name and click on the button to search I find that the search results are unreadable, i.e., no text appears in the rows that are returned. If my search criteria has 5 matching results then the results report display 5 rows with blank text!
    This problem can be repeated across multiple installs of 3.0.9.8.x on both NT, Win2k and Solaris.
    Why is this happening? What is the workaround?
    Regards,
    John
    null

    We encountered this problem in June... see below for the post
    moving from 3.0.7 to 3.0.8, the font entries in packages ORGCHART, DETAIL_RPT, AND PDETAIL_RPT were changed from 12 to +0. Evidently, Internet Explorer doesn't understand +0 to well. Fortunately, these packages aren't wrapped...so you can change the +0 entries back to a default font size of 12.
    If you copy the contents of these packages into a text editor and search for +0, you will find all of the entries that need to be changed back to 12. We used TOAD to update the packages. I would suggest exporting the packages as a backup prior to updating them.
    -Mark

  • People Search Error

    Since upgrading to SharePoint Server 2013 SP1 (April 17th release) our search for people returns results but the links to the User Profile My Site page are invalid (double URL Encoding). If, from the search results page, a user clicks on a person the link
    looks like:
    https://mysite.contoso.com/Person.aspx?accountname=Domain%255CUserName. The account name link should just be Domain%5CUserName, converting the backslash to %5C, however, it looks like the results are reformatting the link from % to %25 resulting in %255C.
    I'm not sure why it started doing this. The images next to the search results appear so the user profile phot link is correct and is not double encoded. Another place where this is occuring is in the video viewer page (videoplayerpage.aspx) the image
    next to the User Information above the Related web part is a broken link
    https://mysite.contoso.com/User%2520Photos/Profile%2520Pictures/username_MThumb.jpg?t=63515195352. As you can see when generating the link it has already converted the space to %20 but it then for some reason reformats it again convering the % in %20 to
    %25 resulting in %2520 which doesn't go anywhere. Does anyone know why the already formated links are reformated?
    Thank You

    I can confirm the workaround proposed by Trevor of modifying Search.ClientControls.js delivers the base result desired, although I think there may be an issue with that in that it's going to be tricky to push out the modified JavaScript and ensure
    that it gets updated in downstream proxies & end users browser caches. I had some user reports firsthand and seen other reports where the modified JS is not seen to have been updated on the end users client.
    This is to be expected as the symptom of the change not seeming to kick in is definitely an effect originating downstream from the server - if it's not the local workstations client caching, it could be downstream proxies.
    For the uninitiated, Chris O'Brien has a good post from a while back on some of the principles of SP clientside cache behaviour in regards to JS:
    http://www.sharepointnutsandbolts.com/2011/11/avoiding-bugs-from-cached-javascript.html
    If you needed to validate/bust the caching, you could use Fiddler on any workstation and change the expires headers for the file in question, or modify the "?Rev=" querystring part in the following line on your SharePoint page output and you
    should see the expected patched script:
    <script type="text/javascript" src="/_layouts/15/search.clientcontrols.js?rev=JRaJplErXEdDXuBoRMcg2Q%3D%3D"></script>
     Unfortunately that script reference is not directly referenced the standard SP 2013 Masterpages (not that that would help for people using OOTB masterpages anyhow) but rather generated on the fly. I've not caffeinated enough today to follow that
    trail any deeper.
    People Search is one of those places where key SharePoint stakeholders will notice breakages right away- profiles & social are obviously critical in SharePoint.  I think the best thing would be if an official patch for this were expedited
    at high priority by MS, before we all descend too much further down the rabbit hole of trying to work around this bug. :)  
    Keith Tuomi | Twitter: @itgroove_keith | Blog:
    http://yalla.itgroove.net
    Please click "Propose As Answer" if a post solves the problem or "Vote As Helpful" if a post has been useful to you.

  • People Search CellPhone - Office 365

    Hello,
    This is happens in our clients Office 365 SharePoint.
    We've been trying to add the User's Mobile phone number to the People Search Results.
    This is what we've done so far:
    1. From Search Schema, Managed Properties, Mapped RefinableString99 to People:CellPhone, ows_CellPhone
    2. After that we created a new People Search Item Template by copying the original.
    3. There we altered:
    Altered this line to add RefinableString99
    <mso:ManagedP msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName', ..... .... .... 'RefinableString99':'RefinableString99'
    Added variable:
    var has_cphone = !$isEmptyString(ctx.CurrentItem.RefinableString99);
    Added this html block:
    <!--#_
                                            if(has_cphone == true)
    _#-->
    <div id="RefinableString99">
    <!--#_
    var encodedcphone = $htmlEncode(ctx.CurrentItem.RefinableString99);
    var displaycphone = Srch.U.getSingleHHXMLNodeValue(hhProps, "RefinableString99");
    if ($isEmptyString(displaycphone)) { displaywphone = encodedcphone }
    _#-->
    <div id="RefinableString99Value" class="ms-srch-ellipsis" title="_#= encodedcphone =#_"> _#= displaycphone =#_ </div>
    </div>
    <!--#_                                             
                                            else
    _#-->
                                                <div style="display:none">no RefinableString99</div>
    <!--#_
    _#-->
    4. Changed the people search results webpart to use the new display template
    Now when we do a people search we still can't see the mobile phone and as we look at the html-source of the page we can see the "no RefinableString99.
    So it seems the search item doesn't have the RefinableString99 in it, or it is empty. The users have the mobile phone numbers in their profiles.
    Should this work or are we doing something wrong?

    In Office 365's SharePoint we cannot start crawls. They are scheduled By Microsoft.
    I've read somewhere that the full crawl is done once a week and the managed property mapping has been done more than a week ago.

  • People search with initials

    I’m having problems getting "initials" shown in a "People Search Core Results". they are showed on
    the Person.aspx
    so they are pulled from the AD
    but trying to customize the XML i get errors every time 
    tried to follow:
    sharepoint-2010-adding-a-field-to-the-people-search-results
    and
    how-to-show-the-fax-number-in-people-search-results-in-sharepoint-2010
    my xml:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:SEARCHWC="http://schemas.microsoft.com/searchserver/"><xsl:output
    method="xml" indent="no"/><xsl:param name="SortBy" /><xsl:param name="DropDownOption" /><xsl:param name="RelevanceSortUrl" /><xsl:param name="RelevanceSortLabel" /><xsl:param
    name="SocialDistanceSortUrl" /><xsl:param name="SocialDistanceSortLabel" /><xsl:param name="NameSortUrl" /><xsl:param name="NameSortLabel" /><xsl:param name="IsNoKeyword" /><xsl:param
    name="IsFixedQuery" /><xsl:param name="ShowMoreLink" /><xsl:param name="MoreLinkLabel" /><xsl:param name="MoreLink" /><xsl:param name="AlertMeLink" /><xsl:param name="AlertMeText"
    /><xsl:param name="SrchRSSText" /><xsl:param name="SrchRSSLink" /><xsl:param name="ShowMessage" /><xsl:param name="ShowActionLinks" /><xsl:param name="SearchProviderText" /><xsl:param
    name="SearchProviderLink" /><xsl:param name="IsPeopleCoreResultsWebPart" /><xsl:param name="NoFixedQuery" /><xsl:param name="NoKeyword" /><xsl:param name="NoPeopleResults" /><xsl:param
    name="NoPeopleResults1" /><xsl:param name="NoPeopleResults2" /><xsl:param name="NoPeopleResults3" /><xsl:param name="NoPeopleResults4" /><xsl:param name="ParentOrgsLabel" /><xsl:param
    name="ViewHiearchyLabel" /><xsl:param name="RecentContentLabel" /><xsl:param name="ResponsibilitiesLabel" /><xsl:param name="SkillsLabel" /><xsl:param name="InterestsLabel" /><xsl:param
    name="PastProjectsLabel" /><xsl:param name="SchoolLabel" /><xsl:param name="MembershipLabel" /><xsl:param name="AboutMeLabel" /><xsl:param name="BaseOfficeLabel" /><xsl:param name="SummaryLabel"
    /><xsl:param name="ProfileViewLabel" /><xsl:param name="UpdateProfileLabel" /><xsl:param name="QueriesFoundYouLabel" /><xsl:param name="UpdateProfileKeywordLabel" /><xsl:param name="SelfSearchLabel"
    /><xsl:param name="NoKeywordLabel" /><xsl:param name="AddToMyColleaguesText" /><xsl:param name="PopupFetcingResultLabel" /><xsl:param name="IdPrefix" /><xsl:param name="LangPickerHeading"
    /><xsl:param name="LangPickerNodeSet" /><xsl:param name="FilterNodeSet" /><xsl:param name="ShowPeopleSortDropdown" /><xsl:param name="RecentUpdateTabLabel" /><!--
    When there is no keywory to issue the search --><xsl:template name="dvt_1.noKeyword">  <span>    <xsl:choose>   
      <xsl:when test="$IsFixedQuery">        <xsl:value-of select="$NoFixedQuery" />      </xsl:when>      <xsl:otherwise>        <xsl:value-of
    select="$NoKeyword" />      </xsl:otherwise>    </xsl:choose>  </span>       </xsl:template><!-- When empty result set is returned from search --><xsl:template
    name="dvt_1.empty">    <div>    <xsl:if test="$ShowActionLinks">      <xsl:call-template name="ActionBarTemplate" />    </xsl:if>  </div> 
    <span id="CSR_NO_RESULTS">    <xsl:value-of select="$NoPeopleResults"/>    <ol>      <li><xsl:value-of select="$NoPeopleResults1"/></li>     
    <li><xsl:value-of select="$NoPeopleResults2"/></li>      <li><xsl:value-of select="$NoPeopleResults3"/></li>      <li><xsl:value-of select="$NoPeopleResults4"/></li> 
      </ol>  </span></xsl:template><!-- Main body template--><xsl:template name="dvt_1.body">  <div>    <xsl:if test="$ShowActionLinks">      <div>  
          <xsl:if test="$LangPickerNodeSet and count($LangPickerNodeSet) &gt; 0">          <label for="langpickerdd" id="langpickerddlabel"><xsl:value-of select="$LangPickerHeading"/></label> 
            <select title="{$LangPickerHeading}" onchange="window.location.href=this.value" id="langpickerdd">            <xsl:for-each select="$LangPickerNodeSet"> 
                <xsl:element name="option">                <xsl:attribute name="value"><xsl:value-of select="@url"/></xsl:attribute> 
                  <xsl:if test="@selected = 'true'">                  <xsl:attribute name="selected">selected</xsl:attribute>     
              </xsl:if>                <xsl:value-of select="@title"/>              </xsl:element>         
      </xsl:for-each>                  </select>          <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>        </xsl:if> 
          <xsl:if test="$ShowPeopleSortDropdown">          <label for="sortbydd" id="sortbyddlabel"><xsl:value-of select="$SortBy" /></label>    
          <select title="{$SortBy}" name="dropdown" onchange="window.location.href=this.value" id="sortbydd">            <xsl:element name="option">  
                <xsl:attribute name="value"><xsl:value-of select="ddwrt:EnsureAllowedProtocol(string($RelevanceSortUrl))"/></xsl:attribute>              <xsl:if
    test="$DropDownOption = '0'">                <xsl:attribute name="selected">selected</xsl:attribute>              </xsl:if>     
            <xsl:value-of select="$RelevanceSortLabel"/>            </xsl:element>            <xsl:if test="string-length($SocialDistanceSortUrl) &gt;
    0 and string-length($SocialDistanceSortLabel) &gt; 0">              <xsl:element name="option">                 <xsl:attribute name="value"><xsl:value-of
    select="ddwrt:EnsureAllowedProtocol(string($SocialDistanceSortUrl))"/></xsl:attribute>                <xsl:if test="$DropDownOption = '1'">           
          <xsl:attribute name="selected">selected</xsl:attribute>                </xsl:if>                <xsl:value-of select="$SocialDistanceSortLabel"/> 
                </xsl:element>            </xsl:if>            <xsl:element name="option">              
    <xsl:attribute name="value"><xsl:value-of select="ddwrt:EnsureAllowedProtocol(string($NameSortUrl))"/></xsl:attribute>              <xsl:if test="$DropDownOption = '2'"> 
                  <xsl:attribute name="selected">selected</xsl:attribute>              </xsl:if>              <xsl:value-of
    select="$NameSortLabel"/>            </xsl:element>          </select>            <xsl:text disable-output-escaping="yes">&#8195;</xsl:text> 
          </xsl:if>        <xsl:call-template name="ActionBarTemplate" />      </div>    </xsl:if>    <xsl:for-each select="All_Results/Result"> 
        <xsl:call-template name="SingleResult"/>    </xsl:for-each>        <xsl:call-template name="MoreLinkTemplate" />  </div>  </xsl:template><!-- This template
    is called for each result --><xsl:template name="SingleResult">    <xsl:element name="div">     <xsl:attribute name="id">      <xsl:value-of select="concat('Container',
    id)"/>    </xsl:attribute>    <xsl:choose>      <xsl:when test="id = 1">        <xsl:attribute name="class">psrch-FirstFullResult</xsl:attribute> 
        </xsl:when>      <xsl:otherwise>        <xsl:attribute name="class">psrch-FullResult</xsl:attribute>      </xsl:otherwise>    </xsl:choose> 
      <xsl:call-template name="SingleResultInternal" />  </xsl:element></xsl:template><xsl:template name="SingleResultInternal">  <xsl:variable name="id" select="id"/>  <xsl:variable
    name="currentId" select="concat($IdPrefix,$id)"/>  <xsl:variable name="url" select="url"/>  <xsl:variable name="email" select="workemail"/>  <xsl:variable name="sip"
    select="sipaddress"/>  <xsl:variable name="prefix">IMNRC('</xsl:variable>  <xsl:variable name="suffix">')</xsl:variable>  <xsl:variable name="hassip"      
    select="string-length($sip) &gt; 0"/>  <xsl:variable name="hasemail"     select="string-length($email) &gt; 0"/>  <xsl:variable name="haspn"        select="string-length(preferredname)
    &gt; 0"/>  <xsl:variable name="hasydn"       select="string-length(yomidisplayname) &gt; 0"/>  <xsl:variable name="hasjt"        select="string-length(jobtitle)
    &gt; 0"/>  <xsl:variable name="hasdp"        select="string-length(department) &gt; 0"/>  <xsl:variable name="hasorg"       select="string-length(orgnames)
    &gt; 0"/>  <xsl:variable name="haswph"       select="string-length(workphone) &gt; 0"/>   <xsl:variable name="hasinitials" select="string-length(initials) &gt; 0"/> 
    <xsl:variable name="hasonum"      select="string-length(officenumber) &gt; 0"/>  <xsl:variable name="hascol"       select="string-length(colleaguecategory) &gt; 0"/> 
    <xsl:variable name="hasacu"       select="string-length(addtomycolleaguesurl) &gt; 0"/>  <xsl:variable name="hashier"      select="string-length(hierarchyurl) &gt; 0"/> 
    <xsl:variable name="hasabme"      select="string-length(aboutme) &gt; 0"/>  <xsl:variable name="hasresp"      select="string-length(responsibility) &gt; 0"/> 
    <xsl:variable name="hassk"        select="($FilterNodeSet and $FilterNodeSet/@title='SPShSkills') or hithighlightedproperties/skills/@hashh &gt; 0"/>  <xsl:variable name="hasint"    
      select="($FilterNodeSet and $FilterNodeSet/@title='SPShInterests') or hithighlightedproperties/interests/@hashh &gt; 0"/>  <xsl:variable name="hasorgparent" select="($FilterNodeSet and $FilterNodeSet/@title='OrgParentNames')
    or hithighlightedproperties/orgparentnames/@hashh &gt; 0"/>  <xsl:variable name="hasmem"       select="($FilterNodeSet and $FilterNodeSet/@title='Memberships') or hithighlightedproperties/memberships/@hashh
    &gt; 0"/>  <xsl:variable name="haspp"        select="($FilterNodeSet and $FilterNodeSet/@title='SPShPastProjects') or hithighlightedproperties/pastprojects/@hashh &gt; 0"/>  <xsl:variable
    name="hasbol"       select="($FilterNodeSet and $FilterNodeSet/@title='SPShLocation') or hithighlightedproperties/baseofficelocation/@hashh &gt; 0"/>  <xsl:variable name="hassch"      
    select="($FilterNodeSet and $FilterNodeSet/@title='SPShSchool') or hithighlightedproperties/schools/@hashh &gt; 0"/>  <xsl:variable name="hassum"       select="count(hithighlightedsummary/c0) &gt;
    0"/>  <xsl:variable name="hasvlm"       select="string-length(profileviewlastmonth) &gt; 0"/>  <xsl:variable name="hasvlw"       select="string-length(profileviewlastweek)
    &gt; 0"/>  <xsl:variable name="hasquery"     select="string-length(queriesfoundyou) &gt; 0"/>      <div id="UserPhoto">    <a href="{ddwrt:EnsureAllowedProtocol(string($url))}"
    id="{concat($currentId, '_CSR_IMGL')}" title="{preferredname}">      <xsl:variable name="imgid" select="concat('CSR_IMG_',$id)"/>      <xsl:variable name="purl"> 
          <xsl:call-template name="GetPicUrl">          <xsl:with-param name="PicUrl" select="pictureurl"/>          <xsl:with-param name="PlaceHolderUrl"
    select="'/_layouts/images/o14_person_placeholder_96.png'"/>        </xsl:call-template>      </xsl:variable>      <img id="{$imgid}" src="{ddwrt:EnsureAllowedProtocol(string($purl))}"
    alt="{preferredname}" border="0"></img>    </a>    <xsl:if test="$hascol">      <div id="ColleagueField">        <xsl:value-of select="colleaguecategory"/> 
        </div>    </xsl:if>  </div>  <span id="JBean">    <xsl:choose>      <xsl:when test="$hassip">        <img alt=""
    border="0" height="12" width="12" src="/_layouts/images/imnhdr.gif" onload="{concat($prefix, $sip, $suffix)}" ShowOfflinePawn="1" id="{concat('CSRP_',$id,',type=sip')}" />   
      </xsl:when>      <xsl:otherwise>        <img alt="" border="0" height="12" width="12" src="/_layouts/images/imnhdr.gif" onload="{concat($prefix,
    $email, $suffix)}" ShowOfflinePawn="1" id="{concat('CSRP_',$id,',type=smtp')}" />      </xsl:otherwise>    </xsl:choose>  </span>  <div id="ContactInfo"> 
      <ul id="MiniContactCard">      <li id="NameField">        <xsl:if test="$haspn">          <a href="{ddwrt:EnsureAllowedProtocol(string($url))}"
    id="{concat($currentId, '_CSR')}">            <xsl:apply-templates select="hithighlightedproperties/preferredname" />          </a>        </xsl:if> 
        </li>      <xsl:if test="$hasydn">        <li id="YomiField">          <xsl:apply-templates select="hithighlightedproperties/yomidisplayname"
    />        </li>      </xsl:if>      <xsl:if test="$hasjt">        <li id="JobTitleField">          <xsl:apply-templates
    select="hithighlightedproperties/jobtitle" />        </li>      </xsl:if>      <xsl:if test="$hasdp and not($hasorg)">        <li id="DepartmentField"> 
            <xsl:apply-templates select="hithighlightedproperties/department" />        </li>      </xsl:if>      <xsl:if test="$hasorg">   
        <li id="OrgField">                              <xsl:call-template name="RenderNameUrlMultivalue">           
    <xsl:with-param name="names" select="hithighlightedproperties/orgnames"/>            <xsl:with-param name="urls" select="orgurls_multival"/>         
      <xsl:with-param name="currentId" select="$currentId"/>          </xsl:call-template>                  </li>      </xsl:if> 
        <xsl:if test="$haswph">        <li id="PhoneField">          <xsl:apply-templates select="hithighlightedproperties/workphone" />     
      </li>          
    <xsl:if test="$hasinitials">        <li id="initialsField">          <xsl:apply-templates select="hithighlightedproperties/initials" />       
    </li>      </xsl:if>      <xsl:if test="$hasonum">        <li id="OfficeField">          <xsl:apply-templates select="hithighlightedproperties/officenumber"
    />        </li>      </xsl:if>      <xsl:if test="$hassip or $hasemail">        <li id="EmailField">          <xsl:choose> 
              <xsl:when test="$hassip">              <a id="{concat($currentId, '_EmailLink')}" href="{concat('mailto:', $sip)}">         
          <xsl:apply-templates select="hithighlightedproperties/sipaddress" />              </a>            </xsl:when>         
      <xsl:otherwise>              <a id="{concat($currentId, '_EmailLink')}" href="{concat('mailto:', $email)}">                <xsl:apply-templates
    select="hithighlightedproperties/workemail" />              </a>            </xsl:otherwise>          </xsl:choose>     
      </li>      </xsl:if>    </ul>    <xsl:if test="$hasacu or $hashier or $IsPeopleCoreResultsWebPart">      <ul id="Actions">         
          <xsl:if test="$hasacu">          <li id="AddColleagueLinkField">            <a id="{concat($currentId, '_AddColleagueLink')}" href="{ddwrt:EnsureAllowedProtocol(string(addtomycolleaguesurl))}">&#187;
    <xsl:value-of select="$AddToMyColleaguesText" /></a>          </li>        </xsl:if>        <xsl:if test="$hashier">       
      <li id="OrgBrowserField">            <a id="{concat($currentId, '_OrgBrowserLink')}" href="{ddwrt:EnsureAllowedProtocol(string(hierarchyurl))}">&#187; <xsl:value-of select="$ViewHiearchyLabel"
    /></a>          </li>        </xsl:if>        <xsl:if test="$IsPeopleCoreResultsWebPart">          <li id="RecentContentField"> 
              <a href="javascript:" ID="{concat('recentcontentlink_',$id)}" runat="server" PreferredName="{preferredname}">                <xsl:value-of
    select="concat('&#187; ', substring-before($RecentContentLabel, '{0}'), preferredname, substring-after($RecentContentLabel, '{0}'))"/>            </a>            <SEARCHWC:PopupControlExtender
    ID="{concat('popupextender_',$id)}" runat="server"            TargetControlID="{concat('recentcontentlink_',$id)}"            PopupControlID="PopupPanelPeopleCore" 
              PopupShowingScript="{concat('PostbackUserName(this.get_element(),this._popupElement,&quot;',$RecentUpdateTabLabel,'&quot;)')}"            PopupHiddenScript="" 
              HoverDelay="500"            UnhoverDelay="500"/>          </li>        </xsl:if>      </ul> 
      </xsl:if>  </div>  <xsl:if test="$hasabme or $hasresp or $hassk or $hasint or $hasorgparent or $hasmem or $haspp or $hassch or $hasbol or $hassum">    <div id="MoreInfo">     
    <ul>                <xsl:if test="$hasabme">          <li>            <span id="FieldTitle">       
          <xsl:value-of select="$AboutMeLabel" />            </span>            <xsl:apply-templates select="hithighlightedproperties/aboutme" /> 
            </li>        </xsl:if>        <xsl:if test="$hasresp">          <li>            <span id="FieldTitle"> 
                <xsl:value-of select="$ResponsibilitiesLabel" />            </span>                      <xsl:call-template
    name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/responsibility"/>              <xsl:with-param
    name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hassk"> 
            <li>            <span id="FieldTitle">              <xsl:value-of select="$SkillsLabel" />         
      </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue"
    select="hithighlightedproperties/skills"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>     
        </li>        </xsl:if>        <xsl:if test="$hasint">          <li>            <span id="FieldTitle"> 
                <xsl:value-of select="$InterestsLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue"> 
                <xsl:with-param name="multivalue" select="hithighlightedproperties/interests"/>              <xsl:with-param name="cutoff" select="5"/> 
              </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hasorgparent">         
    <li>                        <span id="FieldTitle">              <xsl:value-of select="$ParentOrgsLabel" />     
          </span>                      <span id="HotHH">              <xsl:call-template name="RenderNameUrlMultivalue"> 
                  <xsl:with-param name="names" select="hithighlightedproperties/orgparentnames"/>                <xsl:with-param name="urls" select="orgparenturls_multival"/> 
                  <xsl:with-param name="currentId" select="$currentId"/>              </xsl:call-template>            </span> 
            </li>        </xsl:if>        <xsl:if test="$hasmem">          <li>            <span id="FieldTitle"> 
                <xsl:value-of select="$MembershipLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue"> 
                <xsl:with-param name="multivalue" select="hithighlightedproperties/memberships"/>              <xsl:with-param name="cutoff" select="5"/> 
              </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$haspp">          <li> 
              <span id="FieldTitle">              <xsl:value-of select="$PastProjectsLabel" />            </span>      
                   <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/pastprojects"/> 
                <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if> 
          <xsl:if test="$hassch">          <li>            <span id="FieldTitle">              <xsl:value-of select="$SchoolLabel"
    />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param
    name="multivalue" select="hithighlightedproperties/schools"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template> 
            </li>        </xsl:if>        <xsl:if test="$hasbol">          <li>            <span id="FieldTitle"> 
                <xsl:value-of select="$BaseOfficeLabel" />            </span>                      <xsl:apply-templates
    select="hithighlightedproperties/baseofficelocation" />          </li>        </xsl:if>        <xsl:if test="$hassum">         
    <li>            <span id="FieldTitle">              <xsl:value-of select="$SummaryLabel" />            </span> 
              <xsl:apply-templates select="hithighlightedsummary" />          </li>        </xsl:if>      </ul>    </div> 
    </xsl:if>  <div id="Clear">    <img src='/_layouts/images/blank.gif' alt=''/>  </div>  <xsl:if test="$hasvlm or $hasvlw or $hasquery">    <div id="SelfSrchHeading"> 
        <table cellspacing="0" cellpadding="0">        <tr>          <td>            <xsl:value-of select="$SelfSearchLabel"
    />          </td>        </tr>      </table>    </div>    <div id="SelfSrchFreq">      <a id="{concat($currentId,
    '_EditProfileLink')}" href="{ddwrt:EnsureAllowedProtocol(string(editprofileurl))}"><xsl:value-of select="$UpdateProfileLabel" /></a>      <div id="SelfSrchFreqTitle">     
        <xsl:value-of select="$ProfileViewLabel" />      </div>            <xsl:if test="$hasvlm and $hasvlw">        <ul>     
        <li>            <xsl:value-of disable-output-escaping="yes" select="profileviewlastmonth"/>          </li>          <li> 
              <xsl:value-of disable-output-escaping="yes" select="profileviewlastweek"/>          </li>        </ul>      </xsl:if> 
      </div>    <div id="SelfSrchTerms">      <a id="{concat($currentId, '_UpdateKeywordsLink')}" href="{ddwrt:EnsureAllowedProtocol(string(updatekeywordsurl))}"><xsl:value-of select="$UpdateProfileKeywordLabel"
    /></a>      <div id="SelfSrchTermsTitle">        <xsl:value-of select="$QueriesFoundYouLabel" />      </div>      <div id="SelfSrchTermsContent"> 
          <xsl:choose>          <xsl:when test="$hasquery">            <xsl:call-template name="RenderSimpleMultivalue">         
        <xsl:with-param name="multivalue" select="queriesfoundyou_multival"/>              <xsl:with-param name="cutoff" select="5"/>         
      </xsl:call-template>          </xsl:when>          <xsl:otherwise>            <xsl:value-of select="$NoKeywordLabel" />     
        </xsl:otherwise>        </xsl:choose>      </div>    </div>    <div id="Clear2">      <img src='/_layouts/images/blank.gif' alt=''/> 
      </div>  </xsl:if></xsl:template>  <!-- XSL transformation starts here --><xsl:template match="/">  <xsl:if test="$AlertMeLink and $ShowActionLinks">     <input
    type="hidden" name="P_Query" />   <input type="hidden" name="P_LastNotificationTime" />  </xsl:if>  <div>    <xsl:choose>      <xsl:when test="$IsNoKeyword
    = 'True'" >        <xsl:call-template name="dvt_1.noKeyword" />      </xsl:when>      <xsl:when test="$ShowMessage = 'True'">        <xsl:call-template
    name="dvt_1.empty" />      </xsl:when>      <xsl:otherwise>        <xsl:call-template name="dvt_1.body"/>            </xsl:otherwise> 
      </xsl:choose>    <xsl:if test="$IsPeopleCoreResultsWebPart and (count(All_Results/Result) &gt; 0 or count(All_Results/FakeResult) &gt; 0)">      <asp:Panel ID="PopupPanelPeopleCore"
    runat="server" CssClass="psrch-PopupPanel">                        <div id="PopupContainer">                   
    <asp:UpdatePanel runat="server" ID="UpdatePanelPeopleCore" UpdateMode="Conditional" ChildrenAsTriggers="true">            <ContentTemplate>          
                     <SEARCHWC:PeopleCoreResultPopupControl                id="PopupControl51A944753DF0430C8FE1EBAA70F3E945"           
        runat="server"/>                          <div id="PopupFooter">                <asp:UpdateProgress
    ID="UpdateProgress" DisplayAfter="0" AssociatedUpdatePanelID="UpdatePanelPeopleCore" runat="server">                  <ProgressTemplate>       
                <span id="Progress">                      <img src="/_layouts/images/hig_progcircle_loading24.gif"/>       
                  <xsl:value-of select="$PopupFetcingResultLabel" />                    </span>                   
                    </ProgressTemplate>                </asp:UpdateProgress>              </div>         
      </ContentTemplate>                      </asp:UpdatePanel>        </div>      </asp:Panel>    </xsl:if>    
    </div></xsl:template><xsl:template name="ActionBarTemplate">  <xsl:if test="string-length($AlertMeLink) &gt; 0">      <a href="{$AlertMeLink}" id="CSR_AM" title="{$AlertMeText}"> 
        <img src="/_layouts/images/bell.gif" alt="{$AlertMeText}" border="0"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if> 
    <xsl:if test="string-length($SrchRSSLink) &gt; 0">         <a type="application/rss+xml" href="{ddwrt:EnsureAllowedProtocol(string($SrchRSSLink))}" title="{$SrchRSSText}" id="SRCHRSSL"> 
        <img border="0" src="/_layouts/images/rss.gif" alt="{$SrchRSSText}"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if> 
    <xsl:if test="string-length($SearchProviderLink) &gt; 0">      <a href="{ddwrt:EnsureAllowedProtocol(string($SearchProviderLink))}" title="{$SearchProviderText}" >      <img border="0"
    src="/_layouts/images/searchfolder.png" alt="{$SearchProviderText}"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if> </xsl:template><xsl:template
    name="GetPicUrl">  <xsl:param name="PicUrl"/>  <xsl:param name="PlaceHolderUrl"/>    <xsl:choose>    <xsl:when test="string-length($PicUrl) &lt; 1 or starts-with($PicUrl,
    'file:') or starts-with($PicUrl, '\\') or starts-with($PicUrl, '//')">      <xsl:value-of select="$PlaceHolderUrl"/>    </xsl:when>    <xsl:otherwise>      <xsl:value-of
    select="$PicUrl"/>    </xsl:otherwise>  </xsl:choose></xsl:template><xsl:template name="MoreLinkTemplate">  <xsl:if test="$ShowMoreLink = true() and string-length($MoreLink) &gt;
    0">    <div id="MoreLink">      <a href="{ddwrt:EnsureAllowedProtocol(string($MoreLink))}">        <xsl:value-of select="$MoreLinkLabel"/>     
    </a>    </div>  </xsl:if></xsl:template><xsl:template name="RenderNameUrlMultivalue">  <xsl:param name="names"/>  <xsl:param name="urls"/>  <xsl:param
    name="currentId"/>  <xsl:for-each select="$names">    <xsl:variable name="p" select="position()"/>    <xsl:if test="string-length(.) &gt; 0">     
    <xsl:if test="$p &gt; 1">        <span> :: </span>      </xsl:if>      <xsl:choose>        <xsl:when test="string-length($urls[$p]) &gt;
    0">          <a id="{concat($currentId, '_MultivalueUrl')}" href="{ddwrt:EnsureAllowedProtocol(string($urls[$p]))}">            <xsl:apply-templates select="."
    />          </a>        </xsl:when>        <xsl:otherwise>          <xsl:apply-templates select="." />       
    </xsl:otherwise>      </xsl:choose>    </xsl:if>          </xsl:for-each></xsl:template><xsl:template name="RenderSimpleMultivalue">  <xsl:param name="multivalue"/> 
    <xsl:param name="cutoff"/>  <xsl:for-each select="$multivalue">    <xsl:sort data-type="number" order="descending" select="@hashh"/>    <xsl:variable name="p"
    select="position()"/>    <xsl:if test="string-length(.) &gt; 0">      <xsl:choose>        <xsl:when test="$p = 1">          <span
    id="Multivalue">            <xsl:apply-templates select="." />          </span>        </xsl:when>        <xsl:when test="$p
    &gt; 1 and $p &lt;= $cutoff">          <span> :: </span>          <span id="Multivalue"><xsl:apply-templates select="." /></span>   
        </xsl:when>        <xsl:when test="$p = $cutoff + 1">          &#8230;        </xsl:when>      </xsl:choose>   
    </xsl:if>  </xsl:for-each></xsl:template><xsl:template name="HitHighlighting">  <xsl:param name="hh" />  <xsl:apply-templates select="$hh"/> </xsl:template><xsl:template
    match="ddd">   &#8230;  </xsl:template> <xsl:template match="c0">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c1">  
      <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c2">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template
    match="c3">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c4">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template
    match="c5">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c6">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template
    match="c7">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c8">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template
    match="c9">     <b><xsl:value-of select="."/></b></xsl:template> </xsl:stylesheet>
    i want to archive is a standard who is who list with initials.
    Any help is appreciated
    "Carpe Diem" does not mean "fish of the day."

    i'm havenig problems getting "initials" shown in a "People Search Core Results". they are showen on the Person.aspx
    so they are pulled from the AD
    but trying to costumise the XML i get erros everty time 
    tried to follw:
    http://tekality.com/sharepoint-2010/sharepoint-2010-adding-a-field-to-the-people-search-results/
    and
    http://sharepointsolutions.com/sharepoint-help/blog/2011/07/how-to-show-the-fax-number-in-people-search-results-in-sharepoint-2010/
    my xml:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:SEARCHWC="http://schemas.microsoft.com/searchserver/"><xsl:output method="xml" indent="no"/><xsl:param name="SortBy" /><xsl:param name="DropDownOption" /><xsl:param name="RelevanceSortUrl" /><xsl:param name="RelevanceSortLabel" /><xsl:param name="SocialDistanceSortUrl" /><xsl:param name="SocialDistanceSortLabel" /><xsl:param name="NameSortUrl" /><xsl:param name="NameSortLabel" /><xsl:param name="IsNoKeyword" /><xsl:param name="IsFixedQuery" /><xsl:param name="ShowMoreLink" /><xsl:param name="MoreLinkLabel" /><xsl:param name="MoreLink" /><xsl:param name="AlertMeLink" /><xsl:param name="AlertMeText" /><xsl:param name="SrchRSSText" /><xsl:param name="SrchRSSLink" /><xsl:param name="ShowMessage" /><xsl:param name="ShowActionLinks" /><xsl:param name="SearchProviderText" /><xsl:param name="SearchProviderLink" /><xsl:param name="IsPeopleCoreResultsWebPart" /><xsl:param name="NoFixedQuery" /><xsl:param name="NoKeyword" /><xsl:param name="NoPeopleResults" /><xsl:param name="NoPeopleResults1" /><xsl:param name="NoPeopleResults2" /><xsl:param name="NoPeopleResults3" /><xsl:param name="NoPeopleResults4" /><xsl:param name="ParentOrgsLabel" /><xsl:param name="ViewHiearchyLabel" /><xsl:param name="RecentContentLabel" /><xsl:param name="ResponsibilitiesLabel" /><xsl:param name="SkillsLabel" /><xsl:param name="InterestsLabel" /><xsl:param name="PastProjectsLabel" /><xsl:param name="SchoolLabel" /><xsl:param name="MembershipLabel" /><xsl:param name="AboutMeLabel" /><xsl:param name="BaseOfficeLabel" /><xsl:param name="SummaryLabel" /><xsl:param name="ProfileViewLabel" /><xsl:param name="UpdateProfileLabel" /><xsl:param name="QueriesFoundYouLabel" /><xsl:param name="UpdateProfileKeywordLabel" /><xsl:param name="SelfSearchLabel" /><xsl:param name="NoKeywordLabel" /><xsl:param name="AddToMyColleaguesText" /><xsl:param name="PopupFetcingResultLabel" /><xsl:param name="IdPrefix" /><xsl:param name="LangPickerHeading" /><xsl:param name="LangPickerNodeSet" /><xsl:param name="FilterNodeSet" /><xsl:param name="ShowPeopleSortDropdown" /><xsl:param name="RecentUpdateTabLabel" /><!-- When there is no keywory to issue the search --><xsl:template name="dvt_1.noKeyword">  <span class="ms-sbplain">    <xsl:choose>      <xsl:when test="$IsFixedQuery">        <xsl:value-of select="$NoFixedQuery" />      </xsl:when>      <xsl:otherwise>        <xsl:value-of select="$NoKeyword" />      </xsl:otherwise>    </xsl:choose>  </span>       </xsl:template><!-- When empty result set is returned from search --><xsl:template name="dvt_1.empty">    <div class="psrch-results">    <xsl:if test="$ShowActionLinks">      <xsl:call-template name="ActionBarTemplate" />    </xsl:if>  </div>  <span class="srch-description" id="CSR_NO_RESULTS">    <xsl:value-of select="$NoPeopleResults"/>    <ol>      <li><xsl:value-of select="$NoPeopleResults1"/></li>      <li><xsl:value-of select="$NoPeopleResults2"/></li>      <li><xsl:value-of select="$NoPeopleResults3"/></li>      <li><xsl:value-of select="$NoPeopleResults4"/></li>    </ol>  </span></xsl:template><!-- Main body template--><xsl:template name="dvt_1.body">  <div class="psrch-results">    <xsl:if test="$ShowActionLinks">      <div class="srch-sort-right2">         <xsl:if test="$LangPickerNodeSet and count($LangPickerNodeSet) &gt; 0">          <label for="langpickerdd" id="langpickerddlabel"><xsl:value-of select="$LangPickerHeading"/></label>          <select title="{$LangPickerHeading}" class="srch-dropdown" onchange="window.location.href=this.value" id="langpickerdd">            <xsl:for-each select="$LangPickerNodeSet">              <xsl:element name="option">                <xsl:attribute name="value"><xsl:value-of select="@url"/></xsl:attribute>                <xsl:if test="@selected = 'true'">                  <xsl:attribute name="selected">selected</xsl:attribute>                </xsl:if>                <xsl:value-of select="@title"/>              </xsl:element>            </xsl:for-each>                  </select>          <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>        </xsl:if>        <xsl:if test="$ShowPeopleSortDropdown">          <label for="sortbydd" id="sortbyddlabel"><xsl:value-of select="$SortBy" /></label>           <select title="{$SortBy}" name="dropdown" onchange="window.location.href=this.value" class="srch-dropdown" id="sortbydd">            <xsl:element name="option">               <xsl:attribute name="value"><xsl:value-of select="ddwrt:EnsureAllowedProtocol(string($RelevanceSortUrl))"/></xsl:attribute>              <xsl:if test="$DropDownOption = '0'">                <xsl:attribute name="selected">selected</xsl:attribute>              </xsl:if>              <xsl:value-of select="$RelevanceSortLabel"/>            </xsl:element>            <xsl:if test="string-length($SocialDistanceSortUrl) &gt; 0 and string-length($SocialDistanceSortLabel) &gt; 0">              <xsl:element name="option">                 <xsl:attribute name="value"><xsl:value-of select="ddwrt:EnsureAllowedProtocol(string($SocialDistanceSortUrl))"/></xsl:attribute>                <xsl:if test="$DropDownOption = '1'">                  <xsl:attribute name="selected">selected</xsl:attribute>                </xsl:if>                <xsl:value-of select="$SocialDistanceSortLabel"/>              </xsl:element>            </xsl:if>            <xsl:element name="option">               <xsl:attribute name="value"><xsl:value-of select="ddwrt:EnsureAllowedProtocol(string($NameSortUrl))"/></xsl:attribute>              <xsl:if test="$DropDownOption = '2'">                <xsl:attribute name="selected">selected</xsl:attribute>              </xsl:if>              <xsl:value-of select="$NameSortLabel"/>            </xsl:element>          </select>            <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>        </xsl:if>        <xsl:call-template name="ActionBarTemplate" />      </div>    </xsl:if>    <xsl:for-each select="All_Results/Result">      <xsl:call-template name="SingleResult"/>    </xsl:for-each>        <xsl:call-template name="MoreLinkTemplate" />  </div>  </xsl:template><!-- This template is called for each result --><xsl:template name="SingleResult">    <xsl:element name="div">     <xsl:attribute name="id">      <xsl:value-of select="concat('Container', id)"/>    </xsl:attribute>    <xsl:choose>      <xsl:when test="id = 1">        <xsl:attribute name="class">psrch-FirstFullResult</xsl:attribute>      </xsl:when>      <xsl:otherwise>        <xsl:attribute name="class">psrch-FullResult</xsl:attribute>      </xsl:otherwise>    </xsl:choose>    <xsl:call-template name="SingleResultInternal" />  </xsl:element></xsl:template><xsl:template name="SingleResultInternal">  <xsl:variable name="id" select="id"/>  <xsl:variable name="currentId" select="concat($IdPrefix,$id)"/>  <xsl:variable name="url" select="url"/>  <xsl:variable name="email" select="workemail"/>  <xsl:variable name="sip" select="sipaddress"/>  <xsl:variable name="prefix">IMNRC('</xsl:variable>  <xsl:variable name="suffix">')</xsl:variable>  <xsl:variable name="hassip"       select="string-length($sip) &gt; 0"/>  <xsl:variable name="hasemail"     select="string-length($email) &gt; 0"/>  <xsl:variable name="haspn"        select="string-length(preferredname) &gt; 0"/>  <xsl:variable name="hasydn"       select="string-length(yomidisplayname) &gt; 0"/>  <xsl:variable name="hasjt"        select="string-length(jobtitle) &gt; 0"/>  <xsl:variable name="hasdp"        select="string-length(department) &gt; 0"/>  <xsl:variable name="hasorg"       select="string-length(orgnames) &gt; 0"/>  <xsl:variable name="haswph"       select="string-length(workphone) &gt; 0"/>   <xsl:variable name="hasinitials" select="string-length(initials) &gt; 0"/>  <xsl:variable name="hasonum"      select="string-length(officenumber) &gt; 0"/>  <xsl:variable name="hascol"       select="string-length(colleaguecategory) &gt; 0"/>  <xsl:variable name="hasacu"       select="string-length(addtomycolleaguesurl) &gt; 0"/>  <xsl:variable name="hashier"      select="string-length(hierarchyurl) &gt; 0"/>  <xsl:variable name="hasabme"      select="string-length(aboutme) &gt; 0"/>  <xsl:variable name="hasresp"      select="string-length(responsibility) &gt; 0"/>  <xsl:variable name="hassk"        select="($FilterNodeSet and $FilterNodeSet/@title='SPShSkills') or hithighlightedproperties/skills/@hashh &gt; 0"/>  <xsl:variable name="hasint"       select="($FilterNodeSet and $FilterNodeSet/@title='SPShInterests') or hithighlightedproperties/interests/@hashh &gt; 0"/>  <xsl:variable name="hasorgparent" select="($FilterNodeSet and $FilterNodeSet/@title='OrgParentNames') or hithighlightedproperties/orgparentnames/@hashh &gt; 0"/>  <xsl:variable name="hasmem"       select="($FilterNodeSet and $FilterNodeSet/@title='Memberships') or hithighlightedproperties/memberships/@hashh &gt; 0"/>  <xsl:variable name="haspp"        select="($FilterNodeSet and $FilterNodeSet/@title='SPShPastProjects') or hithighlightedproperties/pastprojects/@hashh &gt; 0"/>  <xsl:variable name="hasbol"       select="($FilterNodeSet and $FilterNodeSet/@title='SPShLocation') or hithighlightedproperties/baseofficelocation/@hashh &gt; 0"/>  <xsl:variable name="hassch"       select="($FilterNodeSet and $FilterNodeSet/@title='SPShSchool') or hithighlightedproperties/schools/@hashh &gt; 0"/>  <xsl:variable name="hassum"       select="count(hithighlightedsummary/c0) &gt; 0"/>  <xsl:variable name="hasvlm"       select="string-length(profileviewlastmonth) &gt; 0"/>  <xsl:variable name="hasvlw"       select="string-length(profileviewlastweek) &gt; 0"/>  <xsl:variable name="hasquery"     select="string-length(queriesfoundyou) &gt; 0"/>      <div id="UserPhoto">    <a href="{ddwrt:EnsureAllowedProtocol(string($url))}" id="{concat($currentId, '_CSR_IMGL')}" title="{preferredname}">      <xsl:variable name="imgid" select="concat('CSR_IMG_',$id)"/>      <xsl:variable name="purl">        <xsl:call-template name="GetPicUrl">          <xsl:with-param name="PicUrl" select="pictureurl"/>          <xsl:with-param name="PlaceHolderUrl" select="'/_layouts/images/o14_person_placeholder_96.png'"/>        </xsl:call-template>      </xsl:variable>      <img id="{$imgid}" src="{ddwrt:EnsureAllowedProtocol(string($purl))}" alt="{preferredname}" border="0"></img>    </a>    <xsl:if test="$hascol">      <div id="ColleagueField">        <xsl:value-of select="colleaguecategory"/>      </div>    </xsl:if>  </div>  <span id="JBean">    <xsl:choose>      <xsl:when test="$hassip">        <img alt="" border="0" height="12" width="12" src="/_layouts/images/imnhdr.gif" onload="{concat($prefix, $sip, $suffix)}" ShowOfflinePawn="1" id="{concat('CSRP_',$id,',type=sip')}" />      </xsl:when>      <xsl:otherwise>        <img alt="" border="0" height="12" width="12" src="/_layouts/images/imnhdr.gif" onload="{concat($prefix, $email, $suffix)}" ShowOfflinePawn="1" id="{concat('CSRP_',$id,',type=smtp')}" />      </xsl:otherwise>    </xsl:choose>  </span>  <div id="ContactInfo">    <ul id="MiniContactCard">      <li id="NameField">        <xsl:if test="$haspn">          <a href="{ddwrt:EnsureAllowedProtocol(string($url))}" id="{concat($currentId, '_CSR')}">            <xsl:apply-templates select="hithighlightedproperties/preferredname" />          </a>        </xsl:if>      </li>      <xsl:if test="$hasydn">        <li id="YomiField">          <xsl:apply-templates select="hithighlightedproperties/yomidisplayname" />        </li>      </xsl:if>      <xsl:if test="$hasjt">        <li id="JobTitleField">          <xsl:apply-templates select="hithighlightedproperties/jobtitle" />        </li>      </xsl:if>      <xsl:if test="$hasdp and not($hasorg)">        <li id="DepartmentField">          <xsl:apply-templates select="hithighlightedproperties/department" />        </li>      </xsl:if>      <xsl:if test="$hasorg">        <li id="OrgField">                              <xsl:call-template name="RenderNameUrlMultivalue">            <xsl:with-param name="names" select="hithighlightedproperties/orgnames"/>            <xsl:with-param name="urls" select="orgurls_multival"/>            <xsl:with-param name="currentId" select="$currentId"/>          </xsl:call-template>                  </li>      </xsl:if>      <xsl:if test="$haswph">        <li id="PhoneField">          <xsl:apply-templates select="hithighlightedproperties/workphone" />        </li> <xsl:if test="$hasinitials">        <li id="initialsField">          <xsl:apply-templates select="hithighlightedproperties/initials" />        </li>      </xsl:if>      <xsl:if test="$hasonum">        <li id="OfficeField">          <xsl:apply-templates select="hithighlightedproperties/officenumber" />        </li>      </xsl:if>      <xsl:if test="$hassip or $hasemail">        <li id="EmailField">          <xsl:choose>            <xsl:when test="$hassip">              <a id="{concat($currentId, '_EmailLink')}" href="{concat('mailto:', $sip)}">                <xsl:apply-templates select="hithighlightedproperties/sipaddress" />              </a>            </xsl:when>            <xsl:otherwise>              <a id="{concat($currentId, '_EmailLink')}" href="{concat('mailto:', $email)}">                <xsl:apply-templates select="hithighlightedproperties/workemail" />              </a>            </xsl:otherwise>          </xsl:choose>        </li>      </xsl:if>    </ul>    <xsl:if test="$hasacu or $hashier or $IsPeopleCoreResultsWebPart">      <ul id="Actions">                <xsl:if test="$hasacu">          <li id="AddColleagueLinkField">            <a id="{concat($currentId, '_AddColleagueLink')}" href="{ddwrt:EnsureAllowedProtocol(string(addtomycolleaguesurl))}">&#187; <xsl:value-of select="$AddToMyColleaguesText" /></a>          </li>        </xsl:if>        <xsl:if test="$hashier">          <li id="OrgBrowserField">            <a id="{concat($currentId, '_OrgBrowserLink')}" href="{ddwrt:EnsureAllowedProtocol(string(hierarchyurl))}">&#187; <xsl:value-of select="$ViewHiearchyLabel" /></a>          </li>        </xsl:if>        <xsl:if test="$IsPeopleCoreResultsWebPart">          <li id="RecentContentField">            <a href="javascript:" ID="{concat('recentcontentlink_',$id)}" runat="server" PreferredName="{preferredname}">                <xsl:value-of select="concat('&#187; ', substring-before($RecentContentLabel, '{0}'), preferredname, substring-after($RecentContentLabel, '{0}'))"/>            </a>            <SEARCHWC:PopupControlExtender ID="{concat('popupextender_',$id)}" runat="server"            TargetControlID="{concat('recentcontentlink_',$id)}"            PopupControlID="PopupPanelPeopleCore"            PopupShowingScript="{concat('PostbackUserName(this.get_element(),this._popupElement,&quot;',$RecentUpdateTabLabel,'&quot;)')}"            PopupHiddenScript=""            HoverDelay="500"            UnhoverDelay="500"/>          </li>        </xsl:if>      </ul>    </xsl:if>  </div>  <xsl:if test="$hasabme or $hasresp or $hassk or $hasint or $hasorgparent or $hasmem or $haspp or $hassch or $hasbol or $hassum">    <div id="MoreInfo">      <ul>                <xsl:if test="$hasabme">          <li>            <span id="FieldTitle">              <xsl:value-of select="$AboutMeLabel" />            </span>            <xsl:apply-templates select="hithighlightedproperties/aboutme" />          </li>        </xsl:if>        <xsl:if test="$hasresp">          <li>            <span id="FieldTitle">              <xsl:value-of select="$ResponsibilitiesLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/responsibility"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hassk">          <li>            <span id="FieldTitle">              <xsl:value-of select="$SkillsLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/skills"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hasint">          <li>            <span id="FieldTitle">              <xsl:value-of select="$InterestsLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/interests"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hasorgparent">          <li>                        <span id="FieldTitle">              <xsl:value-of select="$ParentOrgsLabel" />            </span>                      <span id="HotHH">              <xsl:call-template name="RenderNameUrlMultivalue">                <xsl:with-param name="names" select="hithighlightedproperties/orgparentnames"/>                <xsl:with-param name="urls" select="orgparenturls_multival"/>                <xsl:with-param name="currentId" select="$currentId"/>              </xsl:call-template>            </span>          </li>        </xsl:if>        <xsl:if test="$hasmem">          <li>            <span id="FieldTitle">              <xsl:value-of select="$MembershipLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/memberships"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$haspp">          <li>            <span id="FieldTitle">              <xsl:value-of select="$PastProjectsLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/pastprojects"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hassch">          <li>            <span id="FieldTitle">              <xsl:value-of select="$SchoolLabel" />            </span>                      <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="hithighlightedproperties/schools"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </li>        </xsl:if>        <xsl:if test="$hasbol">          <li>            <span id="FieldTitle">              <xsl:value-of select="$BaseOfficeLabel" />            </span>                      <xsl:apply-templates select="hithighlightedproperties/baseofficelocation" />          </li>        </xsl:if>        <xsl:if test="$hassum">          <li>            <span id="FieldTitle">              <xsl:value-of select="$SummaryLabel" />            </span>            <xsl:apply-templates select="hithighlightedsummary" />          </li>        </xsl:if>      </ul>    </div>  </xsl:if>  <div id="Clear">    <img src='/_layouts/images/blank.gif' alt=''/>  </div>  <xsl:if test="$hasvlm or $hasvlw or $hasquery">    <div id="SelfSrchHeading">      <table cellspacing="0" cellpadding="0">        <tr>          <td>            <xsl:value-of select="$SelfSearchLabel" />          </td>        </tr>      </table>    </div>    <div id="SelfSrchFreq">      <a id="{concat($currentId, '_EditProfileLink')}" href="{ddwrt:EnsureAllowedProtocol(string(editprofileurl))}"><xsl:value-of select="$UpdateProfileLabel" /></a>      <div id="SelfSrchFreqTitle">          <xsl:value-of select="$ProfileViewLabel" />      </div>            <xsl:if test="$hasvlm and $hasvlw">        <ul>          <li>            <xsl:value-of disable-output-escaping="yes" select="profileviewlastmonth"/>          </li>          <li>            <xsl:value-of disable-output-escaping="yes" select="profileviewlastweek"/>          </li>        </ul>      </xsl:if>    </div>    <div id="SelfSrchTerms">      <a id="{concat($currentId, '_UpdateKeywordsLink')}" href="{ddwrt:EnsureAllowedProtocol(string(updatekeywordsurl))}"><xsl:value-of select="$UpdateProfileKeywordLabel" /></a>      <div id="SelfSrchTermsTitle">        <xsl:value-of select="$QueriesFoundYouLabel" />      </div>      <div id="SelfSrchTermsContent">        <xsl:choose>          <xsl:when test="$hasquery">            <xsl:call-template name="RenderSimpleMultivalue">              <xsl:with-param name="multivalue" select="queriesfoundyou_multival"/>              <xsl:with-param name="cutoff" select="5"/>            </xsl:call-template>          </xsl:when>          <xsl:otherwise>            <xsl:value-of select="$NoKeywordLabel" />          </xsl:otherwise>        </xsl:choose>      </div>    </div>    <div id="Clear2">      <img src='/_layouts/images/blank.gif' alt=''/>    </div>  </xsl:if></xsl:template>  <!-- XSL transformation starts here --><xsl:template match="/">  <xsl:if test="$AlertMeLink and $ShowActionLinks">     <input type="hidden" name="P_Query" />   <input type="hidden" name="P_LastNotificationTime" />  </xsl:if>  <div class="psrch-Main">    <xsl:choose>      <xsl:when test="$IsNoKeyword = 'True'" >        <xsl:call-template name="dvt_1.noKeyword" />      </xsl:when>      <xsl:when test="$ShowMessage = 'True'">        <xsl:call-template name="dvt_1.empty" />      </xsl:when>      <xsl:otherwise>        <xsl:call-template name="dvt_1.body"/>            </xsl:otherwise>    </xsl:choose>    <xsl:if test="$IsPeopleCoreResultsWebPart and (count(All_Results/Result) &gt; 0 or count(All_Results/FakeResult) &gt; 0)">      <asp:Panel ID="PopupPanelPeopleCore" runat="server" CssClass="psrch-PopupPanel">                        <div id="PopupContainer" class="psrch-PopupContainer">                    <asp:UpdatePanel runat="server" ID="UpdatePanelPeopleCore" UpdateMode="Conditional" ChildrenAsTriggers="true">            <ContentTemplate>                            <SEARCHWC:PeopleCoreResultPopupControl                id="PopupControl51A944753DF0430C8FE1EBAA70F3E945"                runat="server"/>                          <div id="PopupFooter">                <asp:UpdateProgress ID="UpdateProgress" DisplayAfter="0" AssociatedUpdatePanelID="UpdatePanelPeopleCore" runat="server">                  <ProgressTemplate>                    <span id="Progress">                      <img class="psrch-UpdateGraphics" src="/_layouts/images/hig_progcircle_loading24.gif"/>                      <xsl:value-of select="$PopupFetcingResultLabel" />                    </span>                                    </ProgressTemplate>                </asp:UpdateProgress>              </div>            </ContentTemplate>                      </asp:UpdatePanel>        </div>      </asp:Panel>    </xsl:if>     </div></xsl:template><xsl:template name="ActionBarTemplate">  <xsl:if test="string-length($AlertMeLink) &gt; 0">      <a href="{$AlertMeLink}" id="CSR_AM" title="{$AlertMeText}">      <img src="/_layouts/images/bell.gif" alt="{$AlertMeText}" border="0"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if>  <xsl:if test="string-length($SrchRSSLink) &gt; 0">         <a type="application/rss+xml" href="{ddwrt:EnsureAllowedProtocol(string($SrchRSSLink))}" title="{$SrchRSSText}" id="SRCHRSSL">      <img border="0" src="/_layouts/images/rss.gif" alt="{$SrchRSSText}"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if>  <xsl:if test="string-length($SearchProviderLink) &gt; 0">      <a href="{ddwrt:EnsureAllowedProtocol(string($SearchProviderLink))}" title="{$SearchProviderText}" >      <img border="0" src="/_layouts/images/searchfolder.png" alt="{$SearchProviderText}"/>    </a>    <xsl:text disable-output-escaping="yes">&#8195;</xsl:text>  </xsl:if> </xsl:template><xsl:template name="GetPicUrl">  <xsl:param name="PicUrl"/>  <xsl:param name="PlaceHolderUrl"/>    <xsl:choose>    <xsl:when test="string-length($PicUrl) &lt; 1 or starts-with($PicUrl, 'file:') or starts-with($PicUrl, '\\') or starts-with($PicUrl, '//')">      <xsl:value-of select="$PlaceHolderUrl"/>    </xsl:when>    <xsl:otherwise>      <xsl:value-of select="$PicUrl"/>    </xsl:otherwise>  </xsl:choose></xsl:template><xsl:template name="MoreLinkTemplate">  <xsl:if test="$ShowMoreLink = true() and string-length($MoreLink) &gt; 0">    <div id="MoreLink">      <a href="{ddwrt:EnsureAllowedProtocol(string($MoreLink))}">        <xsl:value-of select="$MoreLinkLabel"/>      </a>    </div>  </xsl:if></xsl:template><xsl:template name="RenderNameUrlMultivalue">  <xsl:param name="names"/>  <xsl:param name="urls"/>  <xsl:param name="currentId"/>  <xsl:for-each select="$names">    <xsl:variable name="p" select="position()"/>    <xsl:if test="string-length(.) &gt; 0">      <xsl:if test="$p &gt; 1">        <span class="psrch-TextSeparator"> :: </span>      </xsl:if>      <xsl:choose>        <xsl:when test="string-length($urls[$p]) &gt; 0">          <a id="{concat($currentId, '_MultivalueUrl')}" href="{ddwrt:EnsureAllowedProtocol(string($urls[$p]))}">            <xsl:apply-templates select="." />          </a>        </xsl:when>        <xsl:otherwise>          <xsl:apply-templates select="." />        </xsl:otherwise>      </xsl:choose>    </xsl:if>          </xsl:for-each></xsl:template><xsl:template name="RenderSimpleMultivalue">  <xsl:param name="multivalue"/>  <xsl:param name="cutoff"/>  <xsl:for-each select="$multivalue">    <xsl:sort data-type="number" order="descending" select="@hashh"/>    <xsl:variable name="p" select="position()"/>    <xsl:if test="string-length(.) &gt; 0">      <xsl:choose>        <xsl:when test="$p = 1">          <span id="Multivalue">            <xsl:apply-templates select="." />          </span>        </xsl:when>        <xsl:when test="$p &gt; 1 and $p &lt;= $cutoff">          <span class="psrch-TextSeparator"> :: </span>          <span id="Multivalue"><xsl:apply-templates select="." /></span>        </xsl:when>        <xsl:when test="$p = $cutoff + 1">          &#8230;        </xsl:when>      </xsl:choose>    </xsl:if>  </xsl:for-each></xsl:template><xsl:template name="HitHighlighting">  <xsl:param name="hh" />  <xsl:apply-templates select="$hh"/> </xsl:template><xsl:template match="ddd">   &#8230;  </xsl:template> <xsl:template match="c0">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c1">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c2">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c3">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c4">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c5">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c6">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c7">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c8">     <b><xsl:value-of select="."/></b></xsl:template> <xsl:template match="c9">     <b><xsl:value-of select="."/></b></xsl:template> </xsl:stylesheet>
    i want to archive is a standard who is who list with initials.
    any help appreciated
    "Carpe Diem" does not mean "fish of the day."

  • 'People Search Core Result' web part with 'office' filter in Keyword Query is not returning results

    I have created a page with "People search core result" web part on SharePoint 2010.
    When I try to use the setting (A) or (C) as shown below, there is no results been returned but when set to setting (B), there are results been returned.
    In the returned results I can see the OfficeNumber field is been populated with values and some of them is "UK Finance".
    Setting (A)
    Result Query Options
    -- Fixed Keyword Query = contentclass:spspeople -- Append Text To Query = Department:"Finance" AND OfficeNumber:"UK Finance"
    Setting (B)
    Result Query Options
    --- Fixed Keyword Query = contentclass:spspeople --- Append Text To Query = Department:"Finance"
    Setting (C)
    Result Query Options
    --- Fixed Keyword Query = contentclass:spspeople --- Append Text To Query = OfficeNumber:"UK Finance"
    What am I doing wrong here? Am I missing something? Do I need any additional configuration in order to get this to work?
    I hope someone could help me or point me to the right direction.
    Thank you
    muges

    You might want to check the Manage User Properties area of the User Profile Service in Central Admin.
    Any properties you query on should be marked "Indexed" or "Use in Scopes".  You can also check that you are using the correct internal name for these properties.

  • Add custom properties to People Search Results

    Good morning,
    I am trying to include some custom properties to our Search Results. These are the steps I have followed so far:
    Create User Profile Service Property and sync to AD. The property is populated for different users.
    Run full crawl
    Create managed property on the Schema, and map this to the crawled property
    Created a new version of the Item_Person.html template and changed its title.
    Upload to the Display Templates gallery, and created a new Result Type with this as its template
    Added the new property to the mso:ManagedPropertyMapping tag
    Went to Search Result Types, and selected "Update" on the Property Sync alert
    On the new template, the new property appears on the object ctx.CurrentItem, but its value is null.
    Am I missing something? Tried running full crawl and incremental crawl. Even tried removing the index first.

    Hi,
    Please try to add custom properties using Central Admin.
    I find a thread with the same question, check this:
    http://sharepoint.stackexchange.com/questions/123090/add-custom-properties-to-people-search-results
    More information:
    http://blogs.technet.com/b/tothesharepoint/archive/2013/09/11/how-to-display-values-from-custom-managed-properties-in-search-results-option-1.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • MySite Deletion Emails, UPS, People Search Results

    SharePoint 2013
    We exclude disabled accounts from the UPS for a number of reasons - we don't want the overhead of non-employees, we don't want (requirement) these users to show in people search results, etc.
    Problem - Managers who receive the MySite Deletion email cannot access the account because the account does not exist.
    How do we solve this problem?
    If we include disabled accounts in the UPS, can we filter that information so that only accounts disabled within the last X number of days are included? And if that's attainable, how do we then filter out disabled accounts from people search results
    for those users who were imported?
    Is there a better way to accomplish this?
    There seem to be a large number of threads on this topic, but no real definitive answer or best practice, other than just saying 'import disabled accounts into the ups', which isn't a blanket resolution and will not work for us.
    Thanks
    SPNoob

    Not sure what you mean by "manager cannot access the account..." When you filter disabled accounts in UserProfile Sync the following things happen
    The disabled user will be missing from the next User Profile Sync.  They will be marked as "Missing from Import".
    When the MySite CleanUp job runs users who are missing from IMport will have their profiles deleted.  Their mySite will also be added to a list which will delete the site after 14 days.  Their manager in AD will also be made the secondary site
    collection admin of the mysite and sent an email with a link to that mysite.  The manager won't be able to login to the mysite home page, but will be able to access all the lists and libraries on the mySite to retrieve any IP stored there.
    After 14 days the MySite will be deleted.
    The user's information will remain in the UserInfo table of each site collection where they contributed content.  That way their name will still show for CreateBy and ModifiedBy entries on content.
    That's how the process works.  If you can explain what you mean by manager cannot access the account I'll try to help and explain further.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

Maybe you are looking for