+

Search Tips   |   Advanced Search

Disable anchors in portlet URLs

When we access a portlet in IBM 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. We 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 the 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. We do this by clicking Administration menu icon in the toolbar and clicking 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 Manage portlets, portlet applications, and iWidgets