Setting Restrictions on Layout Containers

Prerequisites

You are assigned to the Content Administrator role

Context

You can modify the provided Web Page Composer layouts so that page authors can only drag specified content templates onto a given container.

Procedure

  1. In the portal, go to Start of the navigation pathContent Administration Next navigation step Portal ContentEnd of the navigation path.
  2. In the Portal Catalog, open Start of the navigation pathPortal Content Next navigation step Templates Next navigation step WPC Templates Next navigation step LayoutsEnd of the navigation path.
  3. Select the layout on which you want to set restrictions and in the context menu of the layout choose Start of the navigation pathOpen Next navigation step PropertiesEnd of the navigation path.
  4. In the Properties editor, choose All to display all of the layout's properties.
  5. In the Layout XML Template property, add the following tag directly after the TableCellData tag for each container to which you want to add restrictions:

    ContainerBehaviors allowedDropTags=" <template name> "

    <template name> is the value of the com.sap.portal.ContentTemplate property in the content template. You can find the content templates in Start of the navigation pathPortal Content Next navigation step Templates Next navigation step WPC Templates Next navigation step iViews Next navigation step WPC ContentEnd of the navigation path.