Oracle Fusion Middleware REST API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14258-03

Create Page

Creates a new Page in the library, with the specified webapp, title, description, layout and isPublic modifier. The new page's definition label is specified via the last part of the URI path.

Namespace

/bea/wlp/api

HTTP Method

POST

URI

/bea/wlp/api/page/new/{page definition label}

Parameters

Parameter
Type
Description
Allowed Values
Default Value
webapp (required)
String
The webapp that will contain the new Page.
format
String
The format of the results.
xml
json
xml
title (required)
String
The localized title of the new Page.
description
String
The description of the new Page.
locale
String
The locale to use for the title and description of the new Page. Must be of the format: lang-country-variant with dashes (not underscores) ie. [nn], [nn-nn], or [nn-nn-nnnn].
Preferred locale from request.
layout
String
The markup name of the Layout to use for the new Page. If no Layout is specified, the first existing Layout found in the application will be used.
First Layout found.
theme
String
The optional markup name of the Theme to use for the new Page.
is_public
Boolean
Whether or not the new Page should be public.
true
hidden
Boolean
Whether or not the new Page should be hidden.
false

Input Example

/bea/wlp/api/page/new/page_1?webapp=myWebapp&title=New%20Page&locale=en-US&layout=twoColumnFlowLayout

Return Example

<rsp>
    <definition_label>page_1</definition_label>
</rsp>
Oracle Fusion Middleware REST API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14258-03

Copyright 2011, Oracle. All rights reserved.