Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can I get the preferred name of the "People:Manager"-crawled property in the search refinement panel instead of domain\Accountname?

I mapped a mananaged property to this crawled property but only get domain\accountname?

Can this be done using xslt?

[Update: My Solution] My solution was to build a timerjob which looks in every userprofile and writes the displayname of the manager in another property. You can use this property on the refinement panel.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Steffen,

you could do the following: do a webservice call to the search service, query each domain/username and retrieve it's displayname. Replace the refiner display values with the returned displaynames.

But I do think that the displayname should be indexed, too. you might investigate it a bit.

share|improve this answer
    
I don't know much about xsl. Do you have some snippets? –  Steffen Schindler Oct 18 '12 at 6:37
    
sorry, i don't have any snippets ready for you. But there are a lot of resources where you can find how to modify the xslt and how to include javascript in it. –  Bas Lijten Oct 19 '12 at 13:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.