4

Structural navigation is tightly coupled with the content and therefore it is hard to create friendly URLs. However, managed metadata navigation addresses this issue by providing central way to manage navigation, irrespective of location of content, which makes it easy to create friendly URLs. The only con, navigation will be managed by term store. You can ...


4

If you have a page, "page1.aspx" in the pages library, it can be accessed via: http://site/pages/page1.aspx. But, perhaps you would rather be able to access it via: http://site/page1 The above would require some sort of routing table. This routing table could have been implemented in a variety of ways, but they happened to decide to use a term set for ...


4

Since you are using jQuery I would suggest to utilize jQuery.grep() to easily filter elements in array. The following example demonstrates how to request global navigation items and filter REST result: function getJson(endpointUrl,success,failure) { $.ajax({ type: "GET", headers: { "accept": "application/json;odata=verbose", ...


4

This is done purposly. SharePoint uses the hash for MDS (Minimal Download Strategy), and also # is a reserved character in URL:s (used for hash-based navigation)


4

I've used that type of mega menu style before in a few sites. Here is a snippet of css below that I use to get those columns like in your example. It assumes you're starting with the default seatle master, so if you've got your own custom master you might need to edit some of the classes. #DeltaTopNavigation ul.static > li.dynamic-children > ul....


4

It doesn't work in my tenant either. A workaround is to create a SharePoint group, add the built-in group to it, and then target the link to the group you created.


3

I found this property for the Navigation class: public bool UseShared { get; set; } Setting it true should inherit the navigation. So this should work: $web.Navigation.UseShared = $true; However, it seems it applies to all navigation, top nav and quick launch.


3

Instead of targeting the exact ID, you can look for IDs ending with _TopNavigationMenu or _RootAspMenu. If you're using CSS you can access the <ul> via CSS selectors: /* ul whose id is ending with "_RootAspMenu" within a div whose id is ending with "_TopNavigationMenu" */ div[id$=_TopNavigationMenu] ul[id$=_RootAspMenu] { color: pink; } In case ...


3

Try adding the type Microsoft.SharePoint.Client.NavigationNode and then switching Microsoft.SharePoint.Navigation.SPNavigationNode to Microsoft.SharePoint.Client.NavigationNode SPNavigationNode is the server object model, to use the client object model, you want NavigationNode. See here for details. However, unlike SPNavigationNode, NavigationNode does ...


3

You could add a Script Editor webpart to the page with the following snippets: <style type="text/css"> .ms-breadcrumb-top { display: none; } </style> and <script type="text/javascript"> $(document).ready(function () { $('.ms-siteicon-img').attr('src', '<your logo url>'); }); </script> You can ...


3

So after debugging and experimenting i found out that only nodes that have IsExternal = true are shown in global navi, however you can't simply set that parameter. You need to add some external http link and then changing it to whatever you need to make it show in global navi. Sharepoint even converts it to relative link while keeping IsExternal = true. ...


3

A shot in the dark here. but is it possible you clicked on the collapse button? See my screenshot. The reason I propose is this I notice from your screenshot the SUITE bar is missing. Which suggests that you clicked on the collapse button. Clicking on it again will cause both the suite bar and the left hand navigation to show. It is located on the top right ...


2

I found the answer here: http://bemusedbi.blogspot.com/2013/04/hiding-home-link-in-sharepoint-2013-top.html /* deletes the top nav left side 'Home' button do not delete*/ .ms-core-listMenu-horizontalBox li.static > a{ display: none !important; } .ms-core-listMenu-horizontalBox li.static > ul a{ display: block !important; }


2

After chatting with wjervis, since the filter does not work on _api/navigation, we needed to use the javascript to pinpoint the items I wanted to extract: function globalNav(){ $.ajax({ type:"GET", url:"https://site/sites/ttest/_api/navigation/menustate?mapprovidername='...


2

I think that i answered the same question here: How to use associate Search Center with Search Box? However, make sure to run powershell as admin, and add the sharepoint cmdlets by typing add-pssnapin microsoft.sharepoint.powershell before trying to update the search center. Make sure that you run the command from the server where Central admin is running. ...


2

Your PowerShell cannot find the cmdlet 'Get-SPEnterpriseSearchServiceApplication'. You either need to reference the Sharepoint.PowerShell namespace before you call the cmdlet or use the SharePoint Management Shell. Add-PSSnapin -Name Microsoft.SharePoint.Powershell $ssa = Get-SPEnterpriseSearchServiceApplication $ssa.SearchCenterUrl = <newURL> $ssa....


2

You may need to recreate the Term Set again. Navigate to http://portal/services/_layouts/15/AreaNavigationSettings.aspx directly or navigate through Site Settings: Make sure you have selected Managed Navigation radio button. Click on Create Term Set and check if that solves the problem. Here is my view from the Services AreaNavigationSettings page:


2

If you go to site settings > Look and Feel > Master Page Click on Alternate CSS URL Click on Browse Click on Add a new item at the top of the window Select your custom CSS file (I will paste mine below) Once uploaded navigate to the new file, select it and click insert. Click OK on the Master Page settings page. If you do not select to use the same master ...


2

If you are experiencing an issue where you see the changes, but other users do not, try the following steps: Confirm that the style sheet and/or master page is checked in AND that a major version is published If required, you may need to confirm that the published version is ALSO approved Confirm that the correct master page is being loaded for users Have ...


2

You can get the global navigation in angular like below: var myAngApp = angular.module('SharePointAngApp', []); myAngApp.controller('spController', function ($scope, $http) { $http({ method: 'GET', url: _spPageContextInfo.webAbsoluteUrl + "/_api/navigation/menustate?mapprovidername='GlobalNavigationSwitchableProvider'", ...


2

In the Navigation setting (http://spsite/_layouts/15/AreaNavigationSettings.aspx) uncheck the box saying to display pages in the top navigation. If that doesn't solve your problem, I guess you're suffering from the same error MS has received in User Voice: "Currently the new document library experience does not support Managed Navigation. It would be ...


2

The general guidance from the PnP group is not to customize the master page if at all possible, but know the limitations if you do, for the reasons you've given. By customizing, you are potentially breaking any new features and changes that are released. You have to be vigilant of changes and try to incorporate them into your design. There are ways to ...


2

To change the color ONLY for the dropdowns in the navigation, use the below code: .ms-core-listMenu-horizontalBox ul.dynamic{ background-color: blue; /* add any color here */ } Next reference the css using the below steps: From site settings, choose Master Page, then click on Alternate CSS URL. Add the link to your CSS file. Don't modify the master ...


2

Try below code: $siteUrl = Get-SPSite "https://sitecollectionurl" foreach ($spWeb in $siteUrl.AllWebs) { $nodeColl = $spWeb.Navigation.TopNavigationBar [int]$count=$nodeColl.Count while($count -ne 0) { $nodeColl[$count-1].Delete(); $count--; } } $siteUrl.Dispose()


2

First, you should be aware of the navigation setting for the parent site shows only the sub sites in Level 1 [For Example] You have Top Level Site > Sub Site1 > Sub Site2 So in Top Level Site navigation setting, you will only find Sub Sie1. And in Sub Sie1 navigation setting, you will only find Sub Sie2. So to hide Sub Site2 from the Global Navigation ...


2

Use target audience. It will work perfectly. Follow below steps : GoTo /_layouts/15/AreaNavigationSettings.aspx In the Structural Navigation section Click on the link/tab that you want to hide for Non-Users of the group Click on the edit option In the Audience property specify the group name that should be able see the link and click OK. Here Only ...


2

Modify your code as mentioned below. We need to initialize the Navigation node collection to include the latest added node : // previous code NavigationNodeCollection topNavNodeColl = context.Web.Navigation.TopNavigationBar; NavigationNodeCreationInformation newNavNode = new NavigationNodeCreationInformation(); newNavNode.Title = "sample title"; ...


2

Use a custom action which inject css, js or jQuery. There are many ways to do this. I am fan to do this with Office Dev PnP Powershell.


1

Check out https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/AddPnPNavigationNode.md Connect-PnPOnline -Url $_.Url Add-PnPNavigationNode -Title $ItemName -Url <whatever you want> -Location TopNavigationBar -Header $ItemName


1

Your System Master Page is likely to be different. So apply the same master in Site Master Page and System Master Page Site Master Page VS System Master Page Site Master Page: The site master page will be used by all publishing pages - the pages that visitors to your website will see. You can have a different master page for each Device Channel. If you ...


Only top voted, non community-wiki answers of a minimum length are eligible