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.
Perhaps something like this in your pagetype model:
public override void SetDefaultValues(ContentType contentType)
{
base.SetDefaultValues(contentType);
this[MetaDataProperties.PageVisibleInMenu] = false;
}
Hi
We are in the prosess of updating a site from Episerver 6R2 to 7.
During the upgrade we got some difficulties with Page type builder and decided to rewrite the page definitions to use episerver 7 strongly typed pages.
The only part we aren't able to converte is the
DefaultVisibleInMenu = false property set on pagetypes.
Is it possible to do the same in strongly typed pages, if so how do i do it?