Note that there are some explanatory texts on larger screens.

plurals
  1. POExtending SharePoint Breadcrumbs across multiple site collections
    primarykey
    data
    text
    <p>I’ve been trying to find a way to extend SharePoint breadcrumbs across multiple site collections, and I’ve been unable to find a way. I can set the <em>portal site connection</em> setting on the site collection to link to its parent site collection. But, that will not show only one parent site collection. Here’s an example of the type of setup I’m looking at creating.</p> <p>The root site, Intranet, has a managed path called sites. Under sites there is site collection called <strong>HR</strong> located at <strong>/sites/hr/</strong>. Under HR there is another managed path set up called outreach. In outreach there is a site collection called <strong>Recruiting</strong> located at <strong>/sites/hr/outreach/recruiting/</strong>. Thus when a user is in the recruiting site, I want them to see <strong>Intranet > HR > Recruiting</strong> as the breadcrumb trail.</p> <p>Example as sitemap:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"&gt; &lt;siteMapNode title="Intranet" url="http://intranet/Pages/Default.aspx"&gt; &lt;siteMapNode title="HR" url="http://intranet/sites/hr/default.aspx"&gt; &lt;siteMapNode title="Recruiting" url="http://inranet/hr/outreach/recruiting/default.aspx"/&gt; &lt;/siteMapNode&gt; &lt;/siteMapNode&gt; &lt;/siteMap&gt; </code></pre> <p>Setting the portal site connection on recruiting I can get <strong>HR > Recruiting</strong> when you’re in recruiting and setting the portal site connection on HR I can get <strong>Intranet > HR</strong> when you are in the HR site. I can’t though.</p> <p>I’ve tried using the <strong>SPXmlContentMapProvider</strong> to read the sitemap file, but I’ve been unable to get that to display at all when I set that as the <strong>SiteMapProvider</strong> for the SiteMapPath of <em>GlobalNavigationSiteMap</em> in the <em>default.master</em>. (<em>GlobalNavigationSiteMap</em> is the SiteMapPath that creates the bread crumbs at the top of the site). The same architecture works well however on a generic .NET application, but does not seem to work in SharePoint. I’ve also properly registered the sitemap as a <strong>defaultProvider</strong> and been able to use it to replace the <em>TopNavigationMenu</em>. (<em>TopNavigationMenu</em> is the global navigation menu/bar of buttons at the top of the default SharePoint layout).</p> <p>Is there a way to actually build this functionality into SharePoint?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload