Microsoft Knowledge Base Email Alertz

(924464) - Describes a scenario in which personal sites do not include a link that you can use to go back to the home page of the portal site.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 924464 - Last Review: May 14, 2007 - Revision: 1.3

You do not see a link to the home page of the portal site in a personal site that you created in SharePoint Server 2007

SYMPTOMS

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.

CAUSE

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

WORKAROUND

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;
			site.Update();
		}
	}
}
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.

MORE INFORMATION

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

APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbprb kbtshoot kbexpertiseinter KB924464
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate