Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/924464

From BetaArchive Wiki

Article ID: 924464

Article Last Modified on 5/14/2007


  • Microsoft Office SharePoint Server 2007


You click My Site to connect to a personal site that you created in Microsoft Office SharePoint Server 2007. However, after you connect to the personal site, you do not see a link to the home page of the portal site.


By default, personal sites in SharePoint Server 2007 do not include a link to the portal site.


To work around this behavior, use one or both of the following methods.

Method 1: Configure the connection to the portal site

Configure the connection to the portal site. After you do this, a link to the portal site appears in the upper-left corner of the home page of the personal site. To configure the connection to the portal site, follow these steps:

  1. Connect to the My Site personal site, click the down arrow next to Site Actions, and then click Site Settings.
  2. On the Site Settings page, click Portal site connection under Site Collection Administration.
  3. On the Portal Site Connection page, click Connect to the portal site.
  4. In the Portal Web Address box, type the URL of the portal site. In the Portal Name box, type the name of the portal site, and then click OK.

Method 2: Use the SharePoint object model to create a script

Use the SharePoint object model to create a script that displays a link to the portal site on the personal site. Use this method for existing personal sites that are already created. The following is an example of a script that displays a link to the portal site.

foreach (UserProfile u in new UserProfileManager(ServerContext.Default))
    using (SPSite site = u.PersonalSite)
        if (site != null)
            site.PortalUrl = xxx;
            site.PortalName = xxx;

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.


For more information about how to work with personal sites, see SharePoint Server 2007 Help.

Additional query words: moss sps moss2007

Keywords: kbprb kbtshoot kbexpertiseinter KB924464