I am trying to create a people's directory for my intranet. When I hover over any employee's name I can see their authored documents. I just want this to be a search page for other employees to be able to search for details and contact information of their colleagues. I do not want everyone to see which documents have been written by them. Here is a screenshot:

enter image description here

So here in the above picture I don't want anyone to see the authored documents. I have tried turning off Sharing activity but this can still be seen.

Is there a way to prevent this to be seen?

Thanks, Sayali


You can customize the Item_Person.html and Item_Person_HoverPanel.html or BETTER copy them and rename them then make changes to the copies. Simply remove the sections you don't want to see.

Just curious, why do you need to make this change? The search results are security trimmed.


if you still looking to remove the documents completely from the Hover Panel, you can, as Matthew has suggested, copy Item_Person_HoverPanel.html and edit it..look for these 2 lines and comment them

hide the following lines

                            //if(isExpResult == false) {
                              <!--<div id="_#= dynTagId =#_"></div>-->
                            <!--<div id="_#= dynTagIdRel =#_"></div>-->

hope this helps!


You have to Customize search result types in SharePoint 2013

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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