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



Mar 29, 2012, 2:41 PM
51 Posts
topic has been resolvedResolved

In a view open pdf links in a new window

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 0
 I have a view wich shows pdf file names.
I am calculating the link for those pdf files in the pageUrl property.
So when the user clicks on a pdf file name , the pdf file will open. 
but .... They open in the same window. 
I would like to open them in a new window. 
 
I changed the "Display column values" "content type" to  "HTML" 
and calculating the link as <href ..... target="_blank" but , I always get errors. 
It seems xpage is adding the servername and current nsf filename in front of my calculated link. 
I can remove this nsf filename by adding ../ in front of the Href , but can't remove the servername even when adding several ../ in front 
 
:( 

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