Set placeholder restrictions

To have some control over the components that can be placed in a placeholder, you can set placeholder restrictions. For example, if you want the footer design to be simple, without too much information, you can restrict complex components.

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:

  1. Navigate to the Presentation folder of your site, right-click Placeholder Settings, click Insert, and then click Placeholder.

  2. Enter a name for the placeholder item and click OK.

  3. In the Data section, enter the placeholder key as it appears under Layout/Placeholder Settings/Foundation/Headless Experience Accelerator/Placeholder Settings, for example headless-footer.

    The Placeholder Key field under the placeholder settings
  4. in the Allowed Controls field, click Edit.

  5. In the Select Items dialog box, navigate to Layout/Renderings/Feature/Headless Experience Accelerator, select the components that you want to enable, and then click OK. For example, if you want a very simple footer, enable only the Rich Text and Image components for the footer.

    Select Items dialog box.
  6. Save the placeholder setting.

Do you have some feedback for us?

If you have suggestions for improving this article,