PnP Provisioning Schema - Keep specific link in current navigation

%3CLINGO-SUB%20id%3D%22lingo-sub-331083%22%20slang%3D%22en-US%22%3EPnP%20Provisioning%20Schema%20-%20Keep%20specific%20link%20in%20current%20navigation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331083%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20would%20like%20to%20remove%20all%20links%20%3CU%3Eexcept%3C%2FU%3E%20Notebook%20when%20apply%20my%20PnP%20Template%20to%20a%20new%20site.%3C%2FP%3E%3CP%3E%3CSPAN%3EOr%20is%20it%20possible%20to%20first%20remove%20all%20and%20then%20hard%20code%20to%20link%20to%20the%20Notebook%3F%20What%20would%20the%20URL%20be%20in%20that%20case%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHere's%20the%20tags%20I'm%20referring%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%3Epnp%3ACurrentNavigation%3C%2FSPAN%3E%20%3CSPAN%3ENavigationType%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%22Structural%22%3C%2FSPAN%3E%3CSPAN%3E%26gt%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%3CSPAN%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%3Epnp%3AStructuralNavigation%3C%2FSPAN%3E%20%3CSPAN%3ERemoveExistingNodes%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%22true%22%3C%2FSPAN%3E%3CSPAN%3E%26gt%3B%20or%20%22false%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3CSPAN%3E%26lt%3B%3C%2FSPAN%3E%3CSPAN%3Epnp%3ANavigationNode%3C%2FSPAN%3E%26nbsp%3B%5B...%5D%26nbsp%3B%3CSPAN%3E%2F%26gt%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%3CSPAN%3E%3CSPAN%3Epnp%3AStructuralNavigation%3C%2FSPAN%3E%3CSPAN%3E%26gt%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CSPAN%3Epnp%3ACurrentNavigation%3C%2FSPAN%3E%3CSPAN%3E%26gt%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EMattias%20Sch%C3%B6ier%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi,

I would like to remove all links except Notebook when apply my PnP Template to a new site.

Or is it possible to first remove all and then hard code to link to the Notebook? What would the URL be in that case?

Here's the tags I'm referring:

<pnp:CurrentNavigation NavigationType="Structural">
    <pnp:StructuralNavigation RemoveExistingNodes="true"> or "false"
        <pnp:NavigationNode [...] />
    </pnp:StructuralNavigation>
</pnp:CurrentNavigation>
 

Regards

Mattias Schöier

0 Replies