Show TOC

Procedure documentationSetting Restrictions on Layout Containers Locate this document in the navigation structure

 

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

Note Note

The restrictions defined here are not relevant for accessible users working in Accessible Area Management.

End of the note.

Prerequisites

You are assigned to the Content Administrator role

Procedure

  1. In the portal, go to   Content Administration   Portal Content  .

  2. In the Portal Catalog, open   Portal Content   Templates   WPC Templates   Layouts  .

  3. Select the layout on which you want to set restrictions and in the context menu of the layout choose   Open   Properties  .

  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   Portal Content   Templates   WPC Templates   iViews   WPC Content  .

    Note Note

    The value of the Layout XML Template property cannot contain structured XML. Make sure that the value contains a single line of text.

    End of the note.