Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Unfortunately I get no errors in the console or any of the HTTP Requests being sent.
This is what my UI Descriptor looks like:
[UIDescriptorRegistration]
public class ForceAllPropertiesViewUiDescriptor : UIDescriptor<IForceAllPropertiesViewUiDescriptor>
{
public ForceAllPropertiesViewUiDescriptor()
{
DefaultView = CmsViewNames.AllPropertiesView;
EnableStickyView = true;
DisabledViews = new List<string> { CmsViewNames.OnPageEditView };
}
}
Looks like you will have errors in the server log. I tried the same and the problem is you have duplicated UIDescriptors for same type. Apparently that is not the way to enable "sticky view". I will look into that if time permits
https://world.episerver.com/blogs/Quan-Mai/Dates/2019/8/enable-sticky-mode-for-catalog-content/ this works for me
When editing a page in EPiServer Commerce and then pressing "Publish" the page is published however the option to "Publish" keeps showing. Everything is fine when I refresh the page and the changes are there.
It happens on pages where I disabled the OnPageEditView using a UI Descriptor:
DisabledViews = new List<string> { CmsViewNames.OnPageEditView };
I can't seem to find a workaround for this bug other than perhaps force a page refresh which would likely annoy the editor.
Do any of you have an idea how to solve this issue?