The JSR 286 Web Content Viewer portlet that is part of WebSphere Portal / Web Content Manager 6.1.5 and 7.0 uses private and public render parameters for storing the information about the content item to render. The location of the content item is stored as library path value. Depending on the size of that library path it be above the limit of the default threshold to be stored in the URL. That mechanism automatically removes large payloads from the URL and stores them in the session and puts the session key instead into the URL. Thus browser navigation still works, but bookmarkability or sending a link via email does not work anymore. This mechanism is applied to all JSR 286 portlets and ensures that the URL is kept as at reasonable length.
The default settings are:
- private render parameters: 100 bytes payload length
- public render parameters: 160 bytes payload length
You can change those defaults and make them large enough for you longest path in WCM via adding the following parameters to the State Manager Service
- private render parameters: c5.keymanager.renderparameters.threshold =
- public render paramters: c5.keymanager.publicrenderparameters.threshold =
Note that these are global settings and will affect all JSR 286 rendering portlets and thus increase the amount of space for other portlets too. This can of course be also helpful if you want to achieve something similar for a different JSR 286 portlet besides the Web Content Viewer portlet. When increasing the size of the threshold you should consider decreasing the history size, called keymanager.lru.size in the State Manager Service