+

Search Tips   |   Advanced Search

Disable anchors in portlet URLs

When you access a portlet in HCL WebSphere Portal, the portal appends an anchor to the portlet URL. If several portlets are arranged vertically on a page, this appended anchor forces the browser to scroll down to the portlet rather than display the start of the page. You might prefer to have the start of the page that is displayed, even if the link that was clicked points to a portlet, which is placed further down on the page. To achieve this, we can disable the anchors.

The use of the anchors depends on the configuration of your device, for example your desktop browser. It is controlled by a client device capability called FRAGMENT_IDENTIFIER. When the used device, for example the browser, has this capability enabled, the portal adds an anchor to the portlet URL. We can disable the addition of the anchors by deleting the capability FRAGMENT_IDENTIFIER from the appropriate clients. Click the Administration menu icon. Then, click Portal Settings > Supported Clients.

To enable the anchors again, restore the FRAGMENT_IDENTIFIER capability. Use the same portlet to add it back to the appropriate clients.

Parent topic: Manage portlets, portlet applications, and iWidgets