in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

This Blog

Syndication

ChadClarkesMOSSBlog

Discussion: What is the purpose of PortalName and PortalURL properties of SPSite

I am unsure as to what the purpose here is.  From what I've seen this is how you associate various site collections(SPSite) back to a central "portal" (another site collection).  I'm guessing that if these properties are set then a link appears somewhere in the child site collection leading them back to the parent portal.  Also this occurs within the SPWeb, again I'm assuming that this basically relays a link within sharepoint back to a parent portal.  Does anyone know of any other uses for this?  Can anyone confirm what I have stated?  Has anyone have any use cases where this became neccessity?  Does anyone know where this link turns up when implemented?

Comments

 

Kevin Graeme said:

In the default Sharepoint masterpage layout there are two places for breadcrumbs, a global portal breadcrumb at the very top and a local site collection breadcrumb navigation on the top of the page content area. This link shows up in the global portal breadcrumb path as a parent of the current site collection it's set on.

So for instance, if I have a web application with a default site collection at http://portal, the global breadcrumb at the top would just read "Portal".

If I create another site collection on that web application at http://portal/myCollection, that global breadcrumb will just display "myCollection", but in my organization it's just a departmental portal under the parent company so I want some way for my users to get back to the main site collection. So I can go to Site Actions > Site Settings > Site Collection Administration > Portal Site Connection and add the name and url of the parent site collection and now the bread portal breadcrumb path will display as "Portal > myCollection" with both linked appropriately.

Because this portal site connection link can be to any other site, I can have it point to a completely separate web app or even a completely different portal product. So maybe my Sharepoint portal is for one division of the company, but the overall corporate intranet is actually built in websphere. This could link to that.

September 10, 2007 4:25 PM
 

Kriss said:

Well, in SPPS 2003 there was a linkbutton on the righthand side of every page that said "Up to [Yourportalname]". I think this is where the two properties were used. Basically, the PortalUrl didn't have to be the URL of the same portal you were at.

I believe the properties are here in WSS3/MOSS to preserve compatibility with the previous portal.

September 10, 2007 11:40 PM
 

ChadClarke said:

Great thoughts on this.  I like the idea that you can link to other products, gives SharePoint some verstility!  Thanks guys!

September 11, 2007 8:33 AM
 

SharePoint 2007 link love 09-12-2007 at Virtual Generations said:

Pingback from  SharePoint 2007 link love 09-12-2007 at  Virtual Generations

September 12, 2007 5:57 AM
 

Kevin Graeme said:

Something to be aware of is that the PortalUrl doesn't appear to pay attention to Alternate Access Mapping configurations. At least that's been my experience.

For instance, in the example of two site collections:

- //portal

- //portal/myCollection

You configure the //portal/myCollection to have a PortalUrl link back to the //portal site connection. All is fine and good.

Then you extend your web application to the extranet and set up an Alternate Access Mapping to http://portal.example.com . Where the PortalUrl break, in my opinion, is that for visitors to the extranet going to http://portal.example.com/myCollection they will see a breadcrumb portal link to //portal not http://portal.example.com.

In my opinion, AAMs should transform this URL.

September 12, 2007 7:58 AM
 

sharepoint purpose said:

Pingback from  sharepoint purpose

May 2, 2008 6:19 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts