Top Link bar not showing sub sites of Root site in 2013 Foundation? RRS feed

  • Question

  • I imported a site on to root site as subsite. But TopLink bar not showing the the subsite. Usually when you we creating subsite. It gives the options to select to show on Top Link bar and Quick Launch Bar. 

    But now How can do that option after I import the site?

    I am asking this on 2013 foundation without using SPD.

    ItsMeSri MOSS SP2, 3 WEFs, Windows 2008 R2 x64.

    Wednesday, December 3, 2014 7:14 PM


  • Hi ItsMeSri,

    If you import a site to another site in SharePoint foundation 2013 with PowerShell, and then you can use PowerShell to add this imported site url in parent site Toplinkbar and QuickLaunch, here is a code sample you can try.

    $subweb = Get-SPWeb http://sp/sub3;
    $spweb=(Get-SPsite "http://sp").rootweb;
    $newLink = New-Object Microsoft.SharePoint.Navigation.SPNavigationNode -ArgumentList  @($web.Title, $web.Url);  


    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. 

    Daniel Yang
    TechNet Community Support

    • Marked as answer by ItsMeSri Thursday, December 4, 2014 1:39 PM
    Thursday, December 4, 2014 10:07 AM