Show TOC Entering content frame

Procedure documentation Creating a portalapp.xml File Locate the document in its SAP Library structure

Use

The portalapp.xml is one of the mandatory files that are part of the layout template PARfile. It stores the portal application definitions. Most parts of this file are identical for all layout PARfiles and you should not modify them.

Prerequisites

You are familiar with the information contained in Portal Page at Runtime.

Procedure

...

Copy the contents of the portalapp.xml file to which the Example section below links, and modify it as follows:

 

String

Mandatory

Value

<component name="fullWidth">

Yes

The component (layout) name

<property name="com.sap.portal.pcm.Title" value="1 Column (Full Width)"/>

No

The layout title as it will be displayed in the Content Studio

<property name="com.sap.portal.pcm.Description" value="Layout displaying one full-width column"/>

No

Description for the layout

<property name="com.sap.portal.reserved.layout.TemplateFile" value="fullWidth.jsp"/>

Yes

The actual name of the LayoutTemplate.jsp file, for this specific component (relative to PORTAL-INF\jsp directory)

<property name="com.sap.portal.reserved.layout.Cont1" value="the_container_id">

Yes

The container ID for this container

Since each layout template may contain several containers, each container should have its own section in the portalapp.xml.

It is crucial that the property name for each container include a sequential ContX suffix (Cont1, Cont2....)

<property name="plainDescription" value="my first container"/>

Yes

The container title, which will be used in the Page Editor

<property name="orientation" value="vertical"/>

Yes

Container orientation

The only possible value is vertical.

<property name="designClass" value="prtlPageConF"/>

No

A CSS class to be used by the HTML table created by the container ( <table class="..."> ).

Enables controlling the container styling properties, such as padding, spacing, and so on.

 

Example

Elements of portalapp.xml File

Leaving content frame