SITECORE-XM-CLOUD-DEVELOPER practice question 8 of 10
A developer needs to configure a rendering in order to use dynamic placeholders. Which of the following steps is required? Select all that apply.
Full set: 49 questionsTo make a rendering support dynamic placeholders you must 1) expose the Dynamic Placeholder fields by inheriting the IDynamicPlaceholder base template in the rendering-parameters template, 2) register each placeholder settings item in the Placeholder(s) field of the rendering item so Experience Editor can recognize and enable the dynamic placeholder, and 3) declare the placeholder key in the placeholder settings item using the “?” (dynamic-token) so Sitecore can append a unique identifier at runtime. A unique key does not have to be hard-coded in the TSX file; Sitecore generates the instance-specific suffix automatically.
D. Dynamic keys are appended automatically by Sitecore; the component code reuses the configured placeholder name and therefore does not require (and must not invent) a new unique key.
1. Sitecore XM Cloud Developer Docs → Layout and Rendering → “Configure dynamic placeholders” (2023-07-12), Steps 1–3.
2. Sitecore Experience Platform 10.3 Developer Guide, ch. “Layout”, sec. “Walkthrough: Adding dynamic placeholders”, pp. 146–148.
3. Sitecore Template Reference: /sitecore/templates/System/Layout/Placeholder Settings/IDynamicPlaceholder, field descriptions “Placeholder Key” and “Dynamic Placeholder Token (?)”.
4. Sitecore XM Cloud Content Editor Guide, sec. “Linking placeholder settings to a rendering”, p. 62.
Keep practicing
Take the free SITECORE-XM-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SITECORE-XM-CLOUD-DEVELOPER practice questions
- Question 1Which of the following needs to happen for a developer to be able to log in into the XM C…
- Question 2A developer is tasked with creating an item using the Sitecore Authoring and Management G…
- Question 3What does the default scope for a serialization include if the scope parameter is not def…
- Question 4Which of the following must be done to delete or remove a user from an administrator role?
- Question 5A developer is working with Sitecore's Authoring and Management API to manage their Sitec…
- Question 6How can a developer differentiate between XM Cloud Components and Headless SXA Components?
