Question

Is there any way we can link the "Author" field that is displayed in "search core results" (not People Core Search Results) to their corresponding "My Site"? I tried using the managed property to display the author's username but it does not return any value. Please help. Thanks in advance

Using XSLT!!

I created managed property called "MySiteUrl" and mapped it to the "People:PersonalSpace(Text)". Then I did full crawl and added property in "Fetched Properties" in Web part properties as . My result in XML looks like <All_Results> <Result> <id>1</id> <workid>329</workid> <rank>18</rank> <mysiteurl></mysiteurl> <title>searchtry</title>

As you can see MySiteUrl did not return any values. Please advice on what I am doing wrong. Does Search Core result web part support the "People:" crawled properties? Thanks.

Was it helpful?

Solution

The MySite url is stored in "PersonalSpace" field in User Profile. So create a managed property for mysite url and mapped that property to "People:PersonalSpace(Text)".

Then use this property in Core Search Results webpart to set the link for the Author name.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top