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.
To get the page type name you can use the PageTypeName property:
var pageRef = new PageReference(pageId); var page = DataFactory.Instance.GetPage(pageRef); var pageTypeName = page.PageTypeName;
I know theres a quick way to do this but it escapes me now.
Whats the syntax for retrieving page type based on page id? Thanks! Episerver 6 btw