In this scenario, I’m viewing the Quick Launch bar of parent site by running the script. Scenario 3: Viewing Quick Launch bar of parent site Now I choose the # of links, link names, and internal relative URL to both lists: Prompted to choose existing heading to create links under. Next, I choose Option 2 to create links directly under a heading:Ħ. Next, I choose option 2 to add new links to existing heading.ĥ. Prompt to run against root site or subsite and I choose the subsite.ģ. Link URL: /subsite/lists/IT/allitems.aspxġ. Link URL: /subsite/lists/sales/allitems.aspx The heading is internal and I’ll be adding to internal links that point to two lists that reside in the subsite. In this scenario, I’m adding 2 internal links to an existing heading called Departments that resides in a subsite. Scenario 2: Add new two links to a sub site Prompted to enter name and URL for each link. Prompted to type in name of new heading and press enter.Ħ. Prompted to choose external or internal links. Prompted to enter the URL and hit enterģ. Prompt to run against root site or subsite and I choose the root:Ģ. The heading will be external and will contain two external links to MSDN and Technet.ġ. In this scenario, I’m adding a new heading with 2 links in the parent site or root web in the Site Collection. Scenario 1: Add new heading and links to parent site If you choose to add headings and/or links to a subsite, the script will only add to subsites that have current navigation set to the following:ĭisplay only the navigation items below the current site If you add headings and/or links to a parent site, any subsite inheriting current navigation from the parent will also see the newly added headings and/or links.Ģ. I also wanted the ability to view the quick launch bar.īefore running this PowerShell Script, a couple of important things to point out:ġ. I wanted to use PowerShell to add Headings and Links to the quick launch bar in an automated fashion. Intro into the Quick Launch PowerShell scriptįirst, I really don’t know why I wrote this script other than being curious on how to do it. Note: The picture above has the default setting selected which is not to inherit from the parent. Question: Can I control what whether or not a subsite inherits the quick launch bar from the parent site?Īnswer: Yes, in fact from the navigation page I mentioned above is the following section: Question: Do sub-sites automatically inherit the current navigation “quick launch bar” from the root site?Īnswer: No, by default when creating a sub-site using team site template, navigation isn’t inherited from the root. Note: Everything under the Current Navigation reflects the Quick Launch bar layout. Within this page, you have a nice navigation control to Add, Delete, or Move Headings and/or Links. After clicking on Navigation link, you’re taken to the areanavigationsettings.aspx page. If you don’t have a navigation link, you’ll need to enable the SharePoint Server Publishing Infrastructure feature which is also under Site Actions\Sites Settings and under Site Collection Administration, click on Site Collection Features. It’s possible to update the quick launch bar by going to Site Actions\Site Settings and under Look and Feel section, click on Navigation link. It’s also an easy way for users to navigate to external SharePoint content like an external web site. It’s an easy way for users to quickly navigate to internal SharePoint data like other sites, lists, or document libraries. View the Quick Launch layout for a given SiteĪnswer: The quick launch bar resides on the left hand side of a SharePoint site and consists of Headings and Links. Add new links to existing Headings on the Quick Launch Barģ. Add new Headings and Links to the Quick Launch BarĢ. SharePoint Administrator’s running this script want to perform the following tasks for a specified site:ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |