Skip to main content

IBM Connections – open Communities Bookmarks in new Tab or Window

Since version 3.0 bookmarks (dogear) module of Connections can be configured to open bookmarks in a new window, but the configuration does not include bookmarks in the Community module.

To get this function consistent and it would be good, when IBM adds the dogear configure switch to communities too.

Until this, you can follow this:

Go to [AppServer-Root]/profiles/[Communities-WAS]/installedApps/[cellname]/Communities.ear/comm.web.war/WEB-INF/tags

Edit displaybookmark.tag and change following line:

<a id="b_uri_${bookmark.uuid}" href="<tango:safeURL>${bookmark.uri}">

to

<div id="b_entry_${bookmark.uuid}">
  <h4>
    <a target="_blank" id="b_uri_${bookmark.uuid}" href="<tango:safeURL>${bookmark.uri}>
    </a>
  </h4>
</div>
Selection 003

To recompile the jsps and activate this changes, edit and save the bookmarks.jsp.

Windows
#

Edit and save following files:

  • [AppServer-Root]\profiles\[Communities-WAS]\installedApps\[cellname]\Communities.ear\comm.web.war\WEB-INF\jsps\html\scenes\dashboard\sidebarRight.jsp

  • [AppServer-Root]\profiles\[Communities-WAS]\installedApps\[cellname]\Communities.ear\comm.web.war\WEB-INF\jsps\html\scenes\bookmarks.jsp

Linux:
#

touch these files:

  • [AppServer-Root]/profiles/[Communities-WAS]/installedApps/[cellname]/Communities.ear/comm.web.war/WEB-INF/jsps/html/scenes/dashboard/sidebarRight.jsp

  • [AppServer-Root]/profiles/[Communities-WAS]/installedApps/[cellname]/Communities.ear/comm.web.war/WEB-INF/jsps/html/scenes/bookmarks.jsp

I haven’t found a way to change opening links in new window in the rightsidebar “Important Bookmarks” and in Bookmarks Widget of the Community Overview. I think these links are generated through Javascript and Feedreader.

Christoph Stoettner
Author
Christoph Stoettner
I work at Vegard IT GmbH as a senior consultant, focusing on collaboration software, Kubernetes, security, and automation. I primarily work with HCL Connections, WebSphere Application Server, Kubernetes, Ansible, Terraform, and Linux. My daily work occasionally leads to technical talks and blog articles, which I share here more or less regularly.

Related