Retrieves the portlet preferences for a single Portlet, specified by definition or instance label
/bea/wlp/api
GET
/bea/wlp/api/portlet_prefs/details/{portlet definition or instance label}
|
Parameter
|
Type
|
Description
|
Allowed Values
|
Default Value
|
|---|---|---|---|---|
|
webapp (required)
|
String
|
The webapp that contains the Portlet.
| ||
|
format
|
String
|
The format of the results.
|
xml
json |
xml
|
|
scope
|
String
|
The scope at which to get the Portlet preferences.
|
library
admin visitor |
library
|
|
portal
|
String
|
For 'admin' or 'visitor' scope, the Portal the Portlet instance is contained in.
| ||
|
desktop
|
String
|
For 'admin' or 'visitor' scope, the Desktop the Portlet instance is contained in.
| ||
|
username
|
String
|
For 'visitor' scope, the username of the owner of the customized Portlet instance.
|
/bea/wlp/api/portlet_prefs/details/portlet_123?webapp=myWebApp
<rsp>
<portlet_preferences>
<portlet_preference>
<name>color</name>
<multivalued>true</multivalued>
<modifiable>true</modifiable>
<values>
<value>red</value>
<value>green</value>
</values>
</portlet_preference>
<portlet_preference>
<name>variety</name>
<multivalued>true</multivalued>
<modifiable>true</modifiable>
<values>
<value>Macintosh</value>
<value>Granny Smith</value>
<value>Red Delicious</value>
</values>
</portlet_preference>
</portlet_preferences>
</rsp>