Hope you are all aware of the limitations of Managed Navigation in SharePoint. If not go through this article
As explained in the above article, each term set can be associated with only one site collection at given time. If you have 5 site collections, you must have 5 copies of same term set to use for 5 site collections navigation data.
To overcome this issue I have created a SharePoint Hosted app which can read the term store and dynamically build the navigation. This app can be embedded in to webpart zone or master page based on your requirement.
O365 Patterns and Practice code helped me a lot to build this app
Step 1 – Create Term Set with your desired menu items and a custom property to configure the redirect url as shown below :
Step 2 – Create a SharePoint Hosted App using Napa / Visual Studio
Step 3 – Configure Permission as per your requirement
Step 4 – Add the necessary script files and a DIV tag to load the dynamic html from App.js file as shown below
Step 5 – Build the dynamic menu list and push the html inside the DIV from App.js as shown below:
Note: Replace the term store and termset Guid with your environment values.
Hope you liked this post. If you have any questions on this topic, let me know…
Subscribe
Get the latest and greatest from me delivered straight to your inbox.