Creating a Remote Portlet Web Service for an Adaptive Layout
Adaptive layouts let
you quickly change the look and feel of areas in the portal user interface
using adaptive tags in standard XHTML. Adaptive layouts are displayed
in the portal through remote portlet web services. Adaptive page layouts
are applied at the experience definition level and affect the entire
experience definition. Adaptive portlet layouts are applied at
the My Page and community page level and affect only that page.
The tasks described below assume that you have already created
the adaptive layouts as described in the
Adaptive Page Layouts section of the
AquaLogic User Interaction Development Guide.
Before you
create a remote portlet web service, if necessary, create the remote
server the web service will point to. If your adaptive layouts are
stored on the computer that hosts the Image Service, you can use the ImageServer Remote Server.
To create a remote portlet
web service you must have the following rights and privileges:
- Access Administration activity right
- Create Web Service Infrastructure activity right
- At least Edit access to the parent folder (the folder that will
store the web service)
- At least Select access to the remote server the web service will
point to
- Click Administration.
- Open the Page Layouts folder.
Remote portlet web services for adaptive layouts must be stored
in this folder to be available in the Experience Definition Editor
and the Select Page Layout dialog box for My Pages and community pages.
- Open the folder for the type of layout for which you are
creating a web service.
For example, if you are creating a web service for a layout
that applies to search results pages, open the Search Results
Page Layouts folder.
- In the Create Object drop-down list,
click Web Service — Remote Portlet.
- Next to Remote Server, click Browse.
The Choose Remote Server dialog box opens.
- Select the remote server this web service should point
to and click OK.
If your adaptive layouts are stored on the computer that hosts
the Image Service, you can use the ImageServer Remote Server.
- In the Portlet URL box, complete
the path to the adaptive layout.
For example: plumtree/portal/private/pagelayouts/searchresultslayout.html
The default security for this web service is based on the
security of the parent folder. You can change the security when you
save this web service (on the
Security tab
page in the Save As dialog box), or by editing this web service (on
the
Security page of the Web Service Editor).
Note:
- If you are creating a web service for a portlet layout, provide
at least Select access to any users you want to be able to select
the layout in My Pages or community pages.
- If you are creating a web service for a page layout, provide at
least Select access to any users you want to be able to select the
layout in experience definitions.