4

I am creating a site in SharePoint 2013 and I'm having a bit of trouble with the Global Navigation.

Here is what it looks like:

enter image description here

This dropdown is showing all sub-sites as well as a manual link (QOverview) but it's not showing a Heading (QGlobal).

QCompany is a sub-site of QUBE. Here is the navigation settings:

QUBE Navigation Config: QUBE Navigation Config 1

QUBE Navigation Config 2

QCompany Navigation Config: enter image description here

QCompany Navigation Config 2

Here is the code in the master page for the navigation:

    <!--nav snippet-->
<!--CS: Start Top Navigation Snippet-->
<!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<SharePoint:AjaxDelta runat="server" CssClass="ms-core-navigation ms-dialogHidden" BlockElement="True" ID="DeltaTopNavigation">-->
    <!--MS:<SharePoint:DelegateControl runat="server" Id="topNavigationDelegate" ControlId="TopNavigationDataSource">-->
        <!--MS:<Template_Controls>-->
            <!--MS:<asp:SiteMapDataSource ShowStartingNode="False" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">-->
            <!--ME:</asp:SiteMapDataSource>-->
        <!--ME:</Template_Controls>-->
    <!--ME:</SharePoint:DelegateControl>-->
    <a name="startNavigation">
    </a>
    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">-->
        <!--MS:<SharePoint:AspMenu runat="server"
                   UseSeparateCss="false"
                   AdjustForShowStartingNode="False"
                   StaticDisplayLevels="2"
                   AccessKey="1"
                   SkipLinkText=""
                   CssClass=""
                   EnableViewState="False"
                   MaximumDynamicDisplayLevels="2"
                   UseSimpleRendering="False"
                   RenderingMode="List"
                   DataSourceID="topSiteMap"
                   Orientation="Horizontal"
                   ID="TopNavigationMenu">-->
        <!--ME:</SharePoint:AspMenu>-->
    <!--ME:</asp:ContentPlaceHolder>-->
<!--ME:</SharePoint:AjaxDelta>-->
<!--CE: End Top Navigation Snippet-->
<!--end nav snippet-->

How can I get the QGlobal links to appear in the QCompany drop-down in Global Navigation?

0

The sub items under QGlobal falls under Level 3. Hence to display those we should set the level property MaximumDynamicDisplayLevels to 3.

Your final will look like

<!--nav snippet-->
<!--CS: Start Top Navigation Snippet-->
<!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<SharePoint:AjaxDelta runat="server" CssClass="ms-core-navigation ms-dialogHidden" BlockElement="True" ID="DeltaTopNavigation">-->
    <!--MS:<SharePoint:DelegateControl runat="server" Id="topNavigationDelegate" ControlId="TopNavigationDataSource">-->
        <!--MS:<Template_Controls>-->
            <!--MS:<asp:SiteMapDataSource ShowStartingNode="False" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">-->
            <!--ME:</asp:SiteMapDataSource>-->
        <!--ME:</Template_Controls>-->
    <!--ME:</SharePoint:DelegateControl>-->
    <a name="startNavigation">
    </a>
    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">-->
        <!--MS:<SharePoint:AspMenu runat="server"
                   UseSeparateCss="false"
                   AdjustForShowStartingNode="False"
                   StaticDisplayLevels="2"
                   AccessKey="1"
                   SkipLinkText=""
                   CssClass=""
                   EnableViewState="False"
                   MaximumDynamicDisplayLevels="3"
                   UseSimpleRendering="False"
                   RenderingMode="List"
                   DataSourceID="topSiteMap"
                   Orientation="Horizontal"
                   ID="TopNavigationMenu">-->
        <!--ME:</SharePoint:AspMenu>-->
    <!--ME:</asp:ContentPlaceHolder>-->
<!--ME:</SharePoint:AjaxDelta>-->
<!--CE: End Top Navigation Snippet-->
<!--end nav snippet-->
  • I changed the property as suggested but it still doesn't appear. I have another dropdown that displays items to the same level as the links within the QGlobal heading and they are shown (although they are all sub-sites not manual links within a heading). – Anthony Dec 17 '14 at 1:24
  • @Anthony is the heading pointing to a particular URL. Does the current user has permissions on those links? – Amal Hashim Dec 17 '14 at 1:27
  • @Anthony also try increasing StaticDisplayLevels to 3 – Amal Hashim Dec 17 '14 at 1:37
  • The heading was not pointing to a link and the current user is the Site Owner. At the moment I have just created a QGlobal sub-site and added the links manually (without a heading) and it's working. I might try a heading with a link just to see if that works too. – Anthony Dec 17 '14 at 1:39
  • Changing the StaticDisplayLevels from 2 to 3 causes all items under the QCompany item to be displayed as top-level items rather than items. QCompany must be the last static level displayed; the subsequent sub-sites and links must be dynamic items. – Anthony Dec 17 '14 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.