0

Here's the scenario:

Component ID is in use as a Datasource in both in Final and Shared Layouts in the Presentation Details but upon checking the raw values, it can only be found in the Renderings [shared] field but not in the Final Renderings field under Layout section when Standard Values and Raw Values are ticked.

2

From Sitecore documentation:

__Renderings – a shared field where you specify the common layout for all languages and versions of the item.

__Final Renderings – a versioned field where you specify individual layouts for languages and versions of the item.

The layouts are stored as XML in the fields, and the contents of these fields are merged ("patched") together to create the final presentation that visitors see.

So in your scenario, Shared Layout is merged together with Final Renderings and datasource from Shared Layout is used in the final version of the page presentation.

More can be read https://doc.sitecore.com/developers/90/sitecore-experience-management/en/versioned-layouts.html

And here is the excellent chart which shows how Sitecore resolves final presentation (from the Sitecore documentation link above):

enter image description here

  • This makes total sense. Thank you Marek! :) – Reena May 15 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.