top of page

How to remove Browse in organizational chart from People Search Core Results web part

Nithin Janardhanan

Updated: Apr 11, 2023

1. Navigate to the page that contains the web part you're trying to customize.
2. Click Site Actions and then Edit Page.
3. Find the People Search Core Results web part and  edit the web part.
4. Expand Display properties.
5. Uncheck the box for Use Location Visualization which should allow us to click the XSL Editor button.
6. Once the XSL Editor dialog displays copy the content into a text editor that allows for searching and look for this markup (Make a backup of the XSL or borrow it from a new web part):

<xsl:if test="$hashier">
          <li id="OrgBrowserField">
               <a id="{concat($currentId, '_OrgBrowserLink')}" href="{ddwrt:EnsureAllowedProtocol(string(hierarchyurl))}">» <xsl:value-of select="$ViewHiearchyLabel" /></a>
          </li>
</xsl:if>

Remove markup once it's found.
7. Paste the new XSL into the XSL Editor dialog and click Save. Then click OK on the web part properties
8. Save the page and exit edit mode.
9. The Organizational Chart link will be gone.
2 views0 comments

Recent Posts

See All

Comments


CONTACT ME

  • Black LinkedIn Icon

Thanks for submitting!

This form no longer accepts submissions.

Enterprise Architect

Phone:

Available on request

Email:

© 2023 by Nithin Janardhanan.

bottom of page