sitecore template standard values layout not updating all items, layout not loading

后端 未结 2 2061
清歌不尽
清歌不尽 2020-12-20 07:19

i\'m currently having a nightmarish moment with Sitecore. Basically my issues are two-fold:

1) the first time i added a standard value item to a template, and added

相关标签:
2条回答
  • 2020-12-20 08:00

    Basically the way to do it is set layout on the Standard Values, which should update all items, that haven't had their layout overwritten on the item or by a branch.

    This is the key to the issue. If your items that aren't getting updated with the template standard value layout were created using a branch, check to make sure that branch does not also have layout details associated with it. If the branch has layout details in addition to the template, the two will conflict and cause really odd, frustrating behavior.

    I encountered the exact same scenario, but after removing the layout details from my branch the issue went away.

    0 讨论(0)
  • 2020-12-20 08:10

    Sounds strange... usually this only happens, when you have a "conflict" between layout set on Standard Values, template/branch.

    Basically the way to do it is set layout on the Standard Values, which should update all items, that haven't had their layout overwritten on the item or by a branch.

    I really dislike branches, so always try to avoid them (the only real use when they were Masters were for building hierarchies of items).

    Could you try to look in the __layouts field (View > Raw values) of the items and see if anything is entered there?

    And is it only some items or all items based on that template?

    0 讨论(0)
提交回复
热议问题