This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 4, 2013, 7:04 AM
15 Posts

XPiNC - How to open links in new tab/window?

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 9.0
  • Role: Developer
  • Tags: xpinc,ssjs
  • Replies: 0

I'm opening an xpage in the Notes client, in which server-side javascript generates several paragraphs of HTML content including some links (anchor tags) to external sites. How do I make these links open in a new tab or window?

All the links open in the same tab if they don't have a target attribute.

If I add target="_blank" to each anchor tag, which should open them in a separate tab, the links don't work at all. Clicking them produces a brief colour change in the link text, showing that the click has been registered, but the linked page never opens.

The links with target="_blank" work when the xpage is opened in an external browser. They only fail in the Notes client.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal