How to dynamically switch PageLayout and MasterPage of SharePoint Publishing page?

后端 未结 6 2136
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-23 07:58

To improve both the editing and displaying experience of SharePoint WCM Publishing pages I would like to be able to switch to a special set of Masterpage/PageLayout when in edit

6条回答
  •  庸人自扰
    2021-01-23 08:19

    Surely that would require subclassing Microsoft.SharePoint.Publishing.PublishingLayoutPage and use that to render the contents of the actual PublishingLayoutPage required depending on the "edit mode".

    How to get a master page changed...ek.

提交回复
热议问题