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

Create Desktop

Creates a new Desktop in the library.

Namespace

/bea/wlp/api

HTTP Method

POST

URI

/bea/wlp/api/desktop/new

Parameters

Parameter
Type
Description
Allowed Values
Default Value
webapp (required)
String
The webapp to create the Desktop under.
portal (required)
String
The Portal that will contain the Desktop.
desktop (required)
String
The name of the new Desktop.
title (required)
String
The localized title of the new Desktop.
description
String
The localized description of the new Desktop.
book
String
The main Book definition label of the new Desktop. If no Book definition label is specified, a new Book will be created and used.
A new Book will be created and used.
shell
String
The markup name of the Shell to use for the new Desktop. If no Shell is specified, the first existing Shell found in the application will be used.
First Shell found.
lookandfeel
String
The markup name of the Look and Feel to use for the new Desktop. If no Look and Feel is specified, the first existing Look and Feel found in the application will be used.
First Look and Feel found.
async_mode
String
The async mode to use for the new Desktop.
enabled
disabled
compat_9_2
compat_9_2
template
Boolean
Specifies whether the new Desktop will be a template or not.
false
global
Boolean
Specifies whether the new Desktop will be global or not.
false
tree_optimization
Boolean
Specifies whether the new Desktop will have tree optimization turned on or not.
true
scroll_to_window
Boolean
Specifies whether the new Desktop will scroll the browser view to the Window that the user last interacted with on postback requests.
false
disc
Boolean
Specifies whether the new Desktop will be DISC enabled or not.
false
dvt
Boolean
Specifies whether the new Desktop will be DVT enabled or not.
false
locale
String
The locale to use for the title and description of the new Desktop. Must be of the format: lang-country-variant ie. [nn], [nn-nn], or [nn-nn-nnnn].
Preferred locale from request.

Input Example

/bea/wlp/api/desktop/new?webapp=myWebApp&portal=myPortalPath&desktop=myDesktopPath&title=My%20New%20Desktop&locale=en-us

Return Example

<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.