A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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?