Layout Configuration
The configuration of the Web Page Composer encompasses items that are required for the layout and display of created pages in the portal.
Main Page
The main page is the page that is displayed in the Page Editor when a Web page is opened for processing for the first time. The configuration of the main page references all the permitted page layouts that you can select for the Web page as well as the standard page layout.
The main page must be configured once. More information: Making Customer-Specific Modifications to the Main Page .
The configuration is located in the portal at .
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the main page: main_page |
|
Published |
No |
Specifies if the main page is available Default setting: Activated |
|
Requires Framework |
No |
Specifies whether a framework page is required for the display Default setting: Activated |
|
Allowed child types |
No |
Selection of the resource types that can be generated as children in this Web resource type Default setting: wpc_webarticle, wpc_webbanner, wpc_webfeature, wpc_weblinklist, wpc_websimple |
|
Allowed parent types |
No |
Selection of the resource types that can be used as parents of the main page Default setting: wpc_page_folder, wpc_translated_pages_folder |
|
Allowed repositories |
No |
The main page can be used in all repositories Standard setting: No specification |
|
Allowed Layouts |
No |
Specification of a customer-specific layout group that contains all the layouts that are available when a page is opened in the Page Editor Standard setting: Customer-specific |
|
Default Layout |
No |
Page layout that is assigned to all newly created Web pages by default You can change the page layout ofa Web page in the Page Editor. Default setting: wpc_layout_template_home_page |
|
Resource Type |
Yes |
Selection of the corresponding resource type Default setting: wpc_page |
|
Toolbar |
No |
Selection of a toolbar that contains commands for the Web resource type Default setting: page_toolbar |
|
Allowed RIDS |
No |
Not used |
|
Class Auto Create |
No |
Not used |
|
Description |
No |
Description of the main page |
|
Factory implementation |
No |
Specification of the factory implementation needed to create instances Default setting: com.sap.sdn.wcm.km.extresource.IExtResourceFactory |
Framework Page Templates
The default framework page layout is the basis for displaying pages created with the Web Page Composer in the portal.
The configuration is located in the portal at
If you are using your own modified framework pages in the portal and you want to use them to display WPC pages too, you have to create new framework page layouts. Specify the IDs of the framework pages from the Portal Content Studio in the configuration.
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the framework page template: The framework page template delivered by SAP is called default. |
|
Bundle File |
No |
Specifies the bundle file in which the key and label for the framework page template are stored. |
|
Key for Description |
No |
Specifies the key that returns the description of the framework page template. The key is stored in the bundle file. |
|
PCD Object ID |
No |
Specifies the ID of the framework page used in the portal from the Portal Content Studio. The light framework page is used in the standard delivery: pcd:portal_content/every_user/general/lightframeworkpage |
|
Thumbnail Image Path |
No |
Specifies a graphic to be used as a preview image of the framework page. |
Framework Pages
Framework pages are used to display the following views:
-
Design time (page editor)
-
Runtime (view of current page in portal)
-
Preview mode
The configuration is located in the portal at
If you use your own modified framework pages in the portal and have created corresponding framework page templates for them in the KM configuration, you also have to configure the new framework pages for the three views and specify the required framework page template in the Layout parameter.
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the framework page |
|
Layout |
Yes |
Specified the framework page template that is used if the RID Pattern and Mode selection criteria match. The default framework page is entered in the default configuration delivered by SAP. |
|
Alias |
Yes |
Specifies the portal alias for which this framework page template is to be used. * means that the framework page template can be used for all aliases. |
|
Key for Description |
Yes |
Specifies the key that returns the description of the framework page. The key is stored in the bundle file. |
|
RID Pattern |
Yes |
Specifies the path pattern for which this framework page can be used. * stands for all path patterns. |
|
mode |
Yes |
Specifies the mode in which the framework page is used. The possible specifications referenced in the program code are as followed: wpcpreview : Preview mode design : Page editor * : All views |
Layout Templates for MIME Types
There are different layout templates for different MIME types. The MIME types are read from the KM configuration. There are currently templates for image and HTML files and for Shockwave Flash. The portal component configured in the selected layout is used to display the MIME types.
The configuration is located in the portal at
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the MIME type-specific layout template |
|
Default Layout |
Yes |
Layout selection A portal component that serves to display the items of the MIME type in question is configured in the layout template configuration. |
|
Mime Type |
Yes |
MIME type selection |
|
Key for Description |
Yes |
Specifies the key that returns the description of the MIME type layout. The key is stored in the bundle file. |
Layout Templates
You have to establish a connection in KM for each page in the Portal Content Studio that is used for the Web Page Composer. You do this with layout templates.
The configuration is located in the portal at
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the layout |
|
Bundle File |
No |
Specifies the bundle file (for example, for the translation) |
|
Key for Description |
No |
Specifies the key in the bundle file that contains the description of the layout If you are not using a bundle file, you can enter a description to be used in all languages here. |
|
PCD Object ID |
No |
Specifies the ID of the corresponding page from the Portal Content Studio. |
|
Thumbnail Image Path |
No |
Specifies a graphic to be used as a preview image of the page layout in the page editor |
Layout Groups
You can group together multiple page layouts to form a layout group.
You can enter a layout group that contains page layouts that can be used to display the Web resource type in the configuration of Web resource types. You can call the page layouts permitted for a Web resource type in the page editor by choosing Change Layout.
The configuration of layout groups is located in the portal at
|
Parameter |
Required |
Description |
|---|---|---|
|
Name |
Yes |
Name of the layout group |
|
Layouts |
No |
Selection of the layouts grouped in the layout group |
|
Description |
No |
More detailed description of the layout group |

