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.
You can attach an event to EPiServer.UI.Edit.EditPanel.LoadedPage and then hide a property by setting e.Page.Property["PropertyName"].DisplayEditUI = false;
/Erik
Hi Daniel,
As Erik describes, this is quite simple to do, if you are doing it for a lot of properties for different page types, you can check out a plugin that I've built for managing this at http://thisisnothing.wordpress.com/2010/04/09/modify-the-built-in-episerver-properties/.
Cheers
Henrik
Hi, works 100% attaching to event EPiServer.UI.Edit.EditPanel.LoadedPage
Thanks!
Hi,
I'm trying to hide a property in edit mode (depending where the pagetype is being created). I've tried the following in the SDK, but get an error: “Error: The property {0} is read-only”
http://sdk.episerver.com/library/cms5/html/P_EPiServer_Core_PropertyData_OwnerTab.htm
Thanks