Quantcast
Channel: bastiaanjacobs
Viewing all articles
Browse latest Browse all 21

SharePoint Custom Top Navigation Menu

$
0
0

A lot of customers want a SharePoint global site navigation without to much effort. One way to achieve this is using the REST _api to get the navigation items from Site Settings > Navigation (/_layouts/15/AreaNavigationSettings.aspx). The url to get all of the navigation information in XML format is the following: /_api/navigation/menustate?mapprovidername=’GlobalNavigationSwitchableProvider’.

After some searching I came across a methode suggestion from Vadim Gremyachev on sharepoint.stackexchange.com where we use jQuery.grep()

 

 

 

Add some HTML to store the navigation items:

<section id=”navigation”>
<ul id=”navigation-container”></ul>
</section>

 


Viewing all articles
Browse latest Browse all 21

Latest Images

Trending Articles



Latest Images