Converting an IBM API Web Content Viewer to the JSR 286 API
As installed by default, the Web Content Viewer is based on the JSR 286 API. If you have a Web Content Viewer that is based on the older IBM® API, you can convert the viewer to the JSR 286 API. Use the convert-wcm-rendering-portlet task to convert the IBM API Web Content Viewer settings and instances to the JSR 286 Web Content Viewer portlet.
About this task
The convert-wcm-rendering-portlet task converts portlet settings of the IBM API Web Content Viewer to portlet preferences of the JSR 286 Web Content Viewer. The task also converts instances of the IBM API Web Content Viewer to instances of the Web Content Viewer. User customized portlet data that is associated with the portlet instance is converted into portlet preferences.
Procedure
What to do next
If you make the web content available on your delivery
portal by using syndication, you can also convert instances of the IBM API Remote Web Content Viewer
portlet to the JSR 286 portlet. When you make the web content available,
you can transform your web content delivery model from remote rendering
to local rendering. To convert instances and settings of the IBM API Remote Web Content Viewer
portlet to the JSR 286 portlet, proceed by the following steps:
- Edit the file wp_profile_root/PortalServer/wcm/config/portletconversion.properties.
- Change the following parameters as described here:
- ibmwebapp.uid
- The default value for this parameter is the unique identifier of the IBM API Web Content Viewer. Change the value to match the unique identifier of the IBM API Remote Web Content Viewer: com.ibm.workplace.wcm.app.ui.portlet.RenderingPortlet.30f9cb100a340018159bfdc657811d2e2
- ibmportlet.portletname
- The default value for this parameter is the portlet name of the IBM API Web Content Viewer. Change the value to match the portlet name of the IBM API Remote Web Content Viewer: Remote Web Content Viewer.
- Perform steps 1 - 5 of the procedure that is given earlier.
- Verify the configuration of the converted Remote Web Content Viewer portlet. For further information on configuring a local Web Content Viewer portlet, read Editing the settings of a web content viewer portlet.
- After the successful conversion, you can uninstall the IBM API Remote Web Content Viewer portlet.
Note: If you made clones of the IBM API
Web Content Viewer portlet or of the IBM API
Remote Web Content Viewer portlet, or if you renamed the portlets,
you might need to modify the parameters in the file wp_profile_root/PortalServer/wcm/config/portletconversion.properties that
identify the portlet that you use as the source for the conversion.
For a complete reference of all parameters that the portlet conversion
task supports, read Converting portlet instances and settings
from the IBM API to the standard
API.
Note: Note: In the version 8.5 user interface, the
JSR 286 Web Content Viewer portlet has been renamed to Web Content
Viewer.