Web content viewer best practices and limitations
View some best practices and limitations for using web content viewers.
User authentication
User authentication to web content viewers is managed by IBM WebSphere Portal and IBM WebSphere Application Server. See for further information.
Security and WSRP
When displaying web content from remote servers using WSRP and a web content viewer, configure security and authentication between the servers:
- The portal server acting as the WSRP Consumer
- The web content server acting as the WSRP Producer
See Security considerations for WSRP services for details.
User access to WCM content and components
Users are able to view only content and components that can be accessed by either a portal user ID or the user of the WSRP Consumer. This access must be defined in Web Content Manager. If a user ID or the user of the WSRP Consumer does not have sufficient rights to view a content or component, errors can occur.
Content and component limitations
Not all content or components built in a Web Content Manager solution are suitable for inclusion in a portal page:
- Content or components to be shown within a portal page must be self-contained and not rely on other content or components.
- When creating presentation templates or page styles to use when showing content within a portlet, reference only the content we want to show. Add components like menus and navigators in separate portlets, and link the components to other content portlets as required.
- JavaScript URLs are not supported.
Use JavaScript:
When a web page is rendered by Web Content Manager, some tags might be rewritten. Web Content Manager uses double quotation marks for attributes in HTML tags. If we use JavaScript to produce HTML tags, Web Content Manager does not recognize them if we use single quotation marks.
Other limitations
- The results of a POST operation in a form are only displayed within the portlet that sent the POST. We cannot send the result of a POST to another portlet.
- An anonymous portal user is also considered an anonymous Web Content Manager user, so overriding the log-in does not work for anonymous users.
- If a Web Content Manager proxy server is being used with web content viewers, URLs rewritten by the proxy are not fully qualified. Instead, the URLs are relative to the server. To address this issue, redirect mappings can be created in the HTTP Server configuration that pass the URLs to the proxy server.
- Category selection trees cannot be used with the local web content viewer.
- Only advanced caching can be used with a local web content viewer.
- Tagged web content that is displayed in the web content viewer is only available when there is a single instance of the portlet on the page. When you click a tag result, the Tag Center broadcasts the information about what content to display using a public render parameter. If we are displaying multiple instances of content in the viewer, the instances show the content that you tagged rather than their original content.
Parent: Deliver web content on a portal pageRelated:
Enable step-up authentication, the Remember me cookie, or both