Shared layout
It stores all the renderings that are shared across all the language versions of an item. It's like a shared field. All the controls added to this layout are shared among all the language and numbered versions.
Mentioned in the picture - This tab displays the shared layout details that are used by every version of the item. The Final Layout tab displays the combined presentation details for this specific version (shared + versioned details).
Final Layout
It stores the renderings that are specific to the current language version of an item. All the changes that are made to the layout are specific for a language and numbered version. Initially, all the controls from the shared layout are imported to the final layout. Once you start making any changes in the final layout, these changes will remain here and become specific to that particular language version and numbered version. This section will display the final combined presentation details of the item.
Mentioned in the picture - This tab displays the combined presentation details for this specific version (shared + versioned details).
Note - When you edit an item from the Experience Editor it will update the final rendering by default. But you can choose between Shared and Final Layout. To update changes in Shared rendering you have to change the layout from 'Experience Editor/Presentation/Layout' and select 'Shared Layout'. Final rendering is Shared + Final so if we are updating Shared Layout in Experience editor it will be visible in both Shared and Final Layout but if you are updating the Final Layout in Experience editor it will be visible only in Final Layout.
The final layout helps in achieving more personalized content based on languages and versions.
References
Shared vs Final layout - https://ankitjoshi2409.wordpress.com/2017/02/06/sitecore-shared-vs-final-layouts/
Edit the layout of an item - https://doc.sitecore.com/xp/en/users/90/sitecore-experience-platform/edit-the-layout-of-an-item.html
Great Article
ReplyDeleteThanks
Delete