Start the Organization Browser at any Account Name

Steps to be followed

Open SharePoint Designer 2010 and navigate to the page where you have added the Organization Browser. Right-click and select Edit File in Advanced Mode

Using either Split view or Code view, navigate to the top of the code and locate the maroon colored Register statements. Copy and paste the below at the end of the last Register statement:

<%@ Register Tagprefix=”SPSWC” Namespace=”Microsoft.SharePoint.Portal.WebControls” Assembly=”Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>

Next, locate PlaceHolderMain (CTRL+F for Find) and copy and paste the below directly under it on the next line:

<SPSWC:ProfilePropertyLoader id=”m_objLoader” LoadFullProfileOfCurrentUser=”true” runat=”server”/>

Now, save the page and you are customizing the page so click Yes on the warning screen.

All you have to do now is simply navigate to the page from a browser but include ?

accountname=domain\username after aspx in the URL


Comments

Popular posts from this blog

Activating a SharePoint Feature on Multiple Sites or Site Collections using PowerShell

Managed Path with WildCard and Explicit Inclusion

List All SharePoint 2010 PowerShell Commands