pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Template: pnp:NavigationNode does not contain any information about the Audiences

Open andikrueger opened this issue 3 years ago • 3 comments

We are exporting a template site collection using PnP PowerShell. The exported template contains the various navigation nodes. Within the source site, the navigation is configured to show certain nodes to a selected audience. This information is missing within the template. Is there any option to include this information? Thanks!

andikrueger avatar Nov 24 '22 14:11 andikrueger

Did you find a way?

Lou-i3 avatar Dec 01 '23 15:12 Lou-i3

I ended up with a custom function and a new navigation node file that would contain the audiences. This was easier in our case.

andikrueger avatar Dec 01 '23 15:12 andikrueger

Thank you! I was thinking of doing something similar.

Lou-i3 avatar Dec 01 '23 15:12 Lou-i3