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
25 days ago
B all the way! Placeholder Settings is like the Borg - resistance is futile.
upvoted 0 times
...
Franklyn
26 days ago
Option D is the way to go. Gotta keep those legacy placeholders free and clear, am I right?
upvoted 0 times
...
Eloisa
27 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
28 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
29 days ago
D sounds plausible. The restrictions should only affect new versions of the placeholder, not existing ones.
upvoted 0 times
Desire
10 hours ago
True, it depends on the specific requirements for the project.
upvoted 0 times
...
Rocco
1 days ago
In that case, we should go with B. It would be more global.
upvoted 0 times
...
Phuong
2 days ago
But what if we want the restrictions to apply to all placeholders with that name on every page?
upvoted 0 times
...
Justine
4 days ago
I think D is correct. It should only apply to new versions of the placeholder.
upvoted 0 times
...
Cristy
9 days ago
That makes sense. It's important to understand how the restrictions work in the Content Editor.
upvoted 0 times
...
Alex
11 days ago
I agree, the restrictions should only affect placeholders created after the settings were applied.
upvoted 0 times
...
Angella
15 days ago
I think D is the correct option. It only applies to new versions of the placeholder.
upvoted 0 times
...
...
Katie
2 months 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
2 months ago
I think C is the correct answer. The restrictions only apply to a specific page, not the entire site.
upvoted 0 times
...
Nichelle
2 months ago
Option B seems logical since the placeholder settings are defined at the instance level.
upvoted 0 times
Emmanuel
27 days ago
Exactly, it's important to understand where the restrictions are being applied.
upvoted 0 times
...
Herminia
1 months ago
That makes sense, since the restrictions are set at the instance level.
upvoted 0 times
...
Berry
1 months ago
Yes, the restrictions apply to every page of every site in the instance.
upvoted 0 times
...
Marva
1 months ago
I think option B is correct.
upvoted 0 times
...
...
Chau
2 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