Versioned Layouts in Sitecore 8x

Versioned layouts make it possible to specify different layouts for different versions and languages of the same item.

You use versioned layouts when you want to:

  • Have different layouts for different languages.
  • Publish a specific version with its own layout for a specific period.

Sitecore uses versioned layouts internally for various content-testing features, for example, to provide cross-language testing.

In the Standard fields of a versioned item, in the Layout section, two fields are for layouts:

  • __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.

The following flow diagram shows in detail how Sitecore resolves which final layout to use for an item:

Versioned Layouts-Picture 1-rId9-182919909

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Powered by WordPress.com.

Up ↑

%d bloggers like this: