Take the community feedback survey now.
AI OnAI Off
Take the community feedback survey now.
[UIDescriptorRegistration]
public class PageUIDescriptor : UIDescriptor<TestPage>
{
public PageUIDescriptor() : base("epi-iconObjectPage")
{
DefaultView = CmsViewNames.AllPropertiesView;
}
}
Hi,
The code is working, but EPi CMS still render "OnPageEditView" before switching to "AllPropertiesView". Switching hangs sometime. Is this a bug?
Thanks,
Dzung
It works the opposite in my case. It always shows AllPropertiesView even when i changes to OnPageEditView. Can't say its a bug, because it works in alloy site.
[UIDescriptorRegistration]
public class SitePageUiDescriptor : UIDescriptor<SitePageData>
{
public SitePageUiDescriptor() : base(ContentTypeCssClassNames.Page)
{
DefaultView = CmsViewNames.OnPageEditView;
}
}
By going through https://world.episerver.com/blogs/grzegorz-wiechec/dates/2017/9/sticky-view-mode/ i found that, its new feature in Episerver 10.11.0 onwards which shows previously selected view, i solved it by adding
EnableStickyView = false;
Hi,
Is there a way to set the default view as All Property view instead of On page edit view?
Thanks,
Hari