Sitecore 10 .NET Developer Certification — Question 23

Your published layout.cshtml file contains a static placeholder with a “main” placeholder key and you want to add renderings to the presentation details of a templates standard values; however you cannot see the "main" placeholder key you added to the layout. Of the available options, which is the best explanation of what happened?

Answer options

Correct answer: C

Explanation

The correct answer is C because a Sitecore publish is required to ensure that any updates to placeholders are reflected in the presentation details. Options A and D do not address the visibility of the placeholder key issue, while B suggests an incorrect layout association, which is not relevant if the layout is correct but simply not published.