Domanda

I wanted to create a SharePoint-Hosted app with custom navigation bar on the left side (like Quicklaunch). As far as I read, one way to do it effectively is to create a custom masterpage with the navigation included in it. The problem is - what about lists? How to create side navigation that would be visible both on lists and on my custom aspx pages across the SharePoint-Hosted app?

È stato utile?

Soluzione

Solved it. We can achieve it by injecting a static HTML (which we can get from an already rendered Quicklaunch) into the "sideNavBox" div using jQuery.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top