Temporarily change a Sitecore item's layout

后端 未结 4 1068
小蘑菇
小蘑菇 2021-01-25 10:58

Using this code I managed to change the renderings on the current item. However this changed it permenantly in Sitecore (the changes were could be seen in the CMS) and not tempo

4条回答
  •  天命终不由人
    2021-01-25 11:12

    Or you can simply use conditional rendering rules to display the renderings/sublayouts you want based on whatever logic you can dream up.

提交回复
热议问题