Set which renderings are allowed in a placeholder

You can use placeholder settings to restrict the renderings that can be added to placeholders. If you are using placeholder settings and you create a new rendering, you must update the settings for placeholders where you want to use the new rendering.

Note

The placeholder name must contain the terms row or column, for example, intro-row-1-{*} or accordioncolumn-1-{*}.

Items in the sitecore/Layouts/Placeholder Settings folder are used for putting the actual rendering into the page. The placeholder name can end in a number or a hyphen before the {*}, for example, Placeholder Key: intro-row-1-{*}.

Items in the sitecore/site/site root page/Presentation/Placeholder Settings folder are used for setting the Allowed Controls configuration for the renderings. They need a very similar placeholder key to match the sitecore/Layouts/Placeholder Settings item above. The placeholder key can't end with a number or a hyphen before the {*}, for example, Placeholder Key: intro-row*, but not into-row-* or intro-row1*.

To allow renderings for a placeholder:

  1. In the Content Editor, in the sitecore/Layout/Placeholder Settings folder, select the placeholder where you want to use the new rendering.

    For example, select the content placeholder that is installed with Sitecore by default.

  2. In the Data section, in the Allowed Controls field, click Edit.

    The Data section on an item in the Content Editor
  3. In the Select Items dialog, use the double-arrows to move each rendering that you want to allow into the right pane.

    The Select Items dialog box
  4. Click OK and save the item.

Do you have some feedback for us?

If you have suggestions for improving this article,