Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi,
You could set default value of "Display in navigation" for specific page type in Admin mode
Go to: Admin mode->Content Type->[Page type from list]->Default values and unclick two checkboxes:
- Use adjusted default settings for pages using this page type
- Display in navigation
You can also override the SetDefaultValues method in your ContentType class.
public override void SetDefaultValues(EPiServer.DataAbstraction.ContentType contentType) { base.SetDefaultValues(contentType); this.VisibleInMenu = false; }
In Episerver 7.19 I need to have the checkbox for show in navigation unchecked by default