Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Navigation settings from onet.xml

$
0
0

Hi all

We use custom web templates to provision SharePoint sites. I need to fix the navigation settings in the onet.xml so the checkbox of "Show pages" will be checked for Global Navigation, but not for "Current Navigation". 

I can edit the IncludePages value and set it to true i the  onet.xml, but that will result in the "Show Pages" box being checked for both Global Navigation and Current Navigation. 

<Feature ID="541F5F57-C847-4e16-B59A-B31E90E6F9EA"><!-- Per-Web Portal Navigation Properties--><Properties xmlns="http://schemas.microsoft.com/sharepoint/"><Property Key="InheritGlobalNavigation" Value="true"/><Property Key="IncludeSubSites" Value="true"/><Property Key="IncludePages" Value="true"/></Properties></Feature>


Any ideas how I can acheive the my desired settings for navigation ?

Thanks 


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>