SITECORE-10-NET-DEVELOPER practice question 2 of 10

A company you develop for wants to temporarily change the design for their main page for a company anniversary celebration. Because this will be a specific version of the main page that is published for a specific period, which Sitecore feature enables you to accomplish this change while easily allowing you to revert to the original design?

Full set: 50 questions

Domain Publishing

Answer options
A: Final layouts
B: Shared layouts
C: Restricted layouts
D: Versioned layouts Correct answer
Correct Answer:
D. Versioned layouts
Explanation

Versioned layouts allow presentation details to be specific to each numbered version of an item. To implement a temporary design change, a developer can create a new version of the home page item, apply the new anniversary layout to it, and then use publishing restrictions to schedule its publication for the specific anniversary period. Once the period ends, the previous version with the original design can be made the latest publishable version, fulfilling the requirement to easily revert. This isolates the temporary change to a specific version without affecting the base design.

Why Incorrect

A. Final layouts are the computed result of merging shared and versioned layouts for a specific item version; it is not the feature itself but the outcome of using it.
B. Shared layouts apply the same presentation details to all versions and language variations of an item, making it unsuitable for a temporary, version-specific design change.
C. Restricted layouts is not a standard term or feature within Sitecore for managing presentation details. It is likely a distractor option.

References

1. Sitecore Documentation - Assign a layout to an item: This official document explains the difference between Shared Layout and Final Layout. It states

"The Shared Layout field... applies to all versions and language variants of the item... The Final Layout field... applies only to the specific version and language variant of the item." This "Final Layout" is the user interface representation of a versioned layout.

Source: Sitecore. (2020). Sitecore Experience Platform 10.0 Documentation

For developers -> Presentation -> Layouts -> Assign a layout to an item.

2. Sitecore Documentation - The item versions: This document details how item versioning works

including setting publishing restrictions. It explains

"You can set publishing restrictions for every version of an item... to control when a version of an item is published." This is the mechanism used in conjunction with versioned layouts to schedule the temporary design.

Source: Sitecore. (2020). Sitecore Experience Platform 10.0 Documentation

For content authors and editors -> The item versions -> Publishing restrictions for an item version.

Scroll to Top