I'm attempting to set the page stop publish and expiration settings to read only for our editors. I've been able to do this for other page meta data related properties like shortcut and what not by writing a metadataextender and looking for the property names:
and then setting the property to read only. and this works, turns off the shortcut manage link. however, I'm not sure how to handle the expiration stuff, i've tried this:
Hello,
I'm attempting to set the page stop publish and expiration settings to read only for our editors. I've been able to do this for other page meta data related properties like shortcut and what not by writing a metadataextender and looking for the property names:
pName == "iversionable_shortcut" || pName == "PageShortcutType" || pName == "PageShortcutLink"
and then setting the property to read only. and this works, turns off the shortcut manage link. however, I'm not sure how to handle the expiration stuff, i've tried this:
pName == "iversionable_expire" || pName == "iversionable_stoppublish" || pName == "PageStopPublish"
and setting all these properties to readonly, but this does not stop the link from being accessed to manage expiration and archiving.
Does anyone know the correct properties to set to read only?