Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam NET Developer 10 All Questions

View all questions & answers for the NET Developer 10 exam

Exam NET Developer 10 topic 1 question 29 discussion

Actual exam question from Sitecore's NET Developer 10
Question #: 29
Topic #: 1
[All NET Developer 10 Questions]

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?

  • A. There is a missing configuration element in web.config for placeholders.
  • B. The wrong layout is associated with the current template.
  • C. A Sitecore publish is required to show placeholder keys when editing presentation details.
  • D. There is no placeholder settings item for the associated "main" placeholder key.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
6ce63a8
10 months, 2 weeks ago
Selected Answer: D
In Sitecore, when you add a static placeholder to your layout file, you typically need to create a corresponding placeholder settings item in the content tree. This placeholder settings item defines the allowed placeholder keys and is associated with the placeholder key used in your layout. If you have added a "main" placeholder key to your layout.cshtml file, but it is not appearing when you edit the presentation details of a template's standard values, it's likely that there is no corresponding placeholder settings item for the "main" placeholder key. To resolve this, you should create a placeholder settings item in the content tree with the key "main" and associate it with the appropriate allowed controls/renderings.
upvoted 1 times
...
randomname1
1 year, 1 month ago
It's C, you modify the presentation details, you need to publish
upvoted 1 times
...
alex1112
1 year, 8 months ago
I think the answer is D https://sitecorediaries.org/2019/12/09/sitecore-placeholders-and-placeholder-settings/
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...