In this article we will be seeing how to add a site collection link to global breadcrumb navigation (Navigate Up button ) in SharePoint 2010 using the SharePoint Object model. Portal Site Collection: A Portal Site Collection is used to link from one site collection to another site collection. The Portal site will be added to the Navigate Up (global breadcrumb navigation). Programmatically Configure Portal Site Collection:
namespace PortalSiteCollection { class Program { static void Main(string[] args) { using (SPSite site = new SPSite("https://serverName:1234/sites/Sample/")) { site.PortalName = "Sample Link"; site.PortalUrl = "https://serverName:1236/sites/Test/"; } } } }
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: