Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Sitecore Exam Sitecore-XM-Cloud-Developer Topic 6 Question 31 Discussion

Actual exam question for Sitecore's Sitecore-XM-Cloud-Developer exam
Question #: 31
Topic #: 6
[All Sitecore-XM-Cloud-Developer Questions]

A developer is using the Content Editor to set placeholder restrictions on a placeholder called headless-footer. Because these restrictions have been set on the placeholder settings within /sitecore/Layout/Placeholder Settings, which of the following statements is correct?

Show Suggested Answer Hide Answer
Suggested Answer: B

According to the Sitecore XM Cloud Documentation for Developers1, in the Content Editor, you can set placeholder restrictions for your layout placeholders. These restrictions are applied on all pages in the site. For example, if you add restrictions for a footer, these apply for all footers on every page of the site. In this way, you can control the content that content authors can place in layout placeholders. To add a placeholder setting for a site, you need to create a placeholder item in the Layout/Placeholder Settings folder and enter the placeholder key and the allowed components2.

The other options are not correct:

A) The restrictions apply for all placeholders called headless-footer within a single site in the XM Cloud Content Management instance. This option is too narrow, as the placeholder restrictions apply to all sites that use the same placeholder key, not just one site.

C) The restrictions only apply for a placeholder called headless-footer on a designated page. This option is too specific, as the placeholder restrictions apply to all pages that use the same placeholder key, not just one page. However, you can create placeholder restrictions on specific pages in the Experience Editor, if you want to override the default settings3.

D) The restrictions only apply for subsequently created versions of a placeholder called headless-footer. This option is incorrect, as the placeholder restrictions apply to all versions of the placeholder, not just the new ones.

2: Set placeholder restrictions | Sitecore Documentation 3: Set placeholder restrictions | Sitecore Documentation 1: XM Cloud Documentation for Developers - Sitecore


Contribute your Thoughts:

Lashawnda
3 days ago
B all the way! Placeholder Settings is like the Borg - resistance is futile.
upvoted 0 times
...
Franklyn
4 days ago
Option D is the way to go. Gotta keep those legacy placeholders free and clear, am I right?
upvoted 0 times
...
Eloisa
5 days ago
I'm going with C. No way the restrictions would affect every single page in the entire instance. That's just crazy.
upvoted 0 times
...
Brynn
6 days ago
B has to be the right answer. Why else would they call it 'Placeholder Settings' if it didn't apply globally?
upvoted 0 times
...
Ula
7 days ago
D sounds plausible. The restrictions should only affect new versions of the placeholder, not existing ones.
upvoted 0 times
...
Katie
30 days ago
I think the restrictions apply for all placeholders called headless-footer on every page of every site that is in the XM Cloud Content Management instance.
upvoted 0 times
...
Gianna
30 days ago
I think C is the correct answer. The restrictions only apply to a specific page, not the entire site.
upvoted 0 times
...
Nichelle
1 months ago
Option B seems logical since the placeholder settings are defined at the instance level.
upvoted 0 times
Emmanuel
5 days ago
Exactly, it's important to understand where the restrictions are being applied.
upvoted 0 times
...
Herminia
10 days ago
That makes sense, since the restrictions are set at the instance level.
upvoted 0 times
...
Berry
15 days ago
Yes, the restrictions apply to every page of every site in the instance.
upvoted 0 times
...
Marva
19 days ago
I think option B is correct.
upvoted 0 times
...
...
Chau
1 months ago
I disagree, I believe the restrictions only apply for a placeholder called headless-footer on a designated page.
upvoted 0 times
...
Paulene
2 months ago
I think the restrictions apply for all placeholders called headless-footer within a single site in the XM Cloud Content Management instance.
upvoted 0 times
...

Save Cancel