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



Jun 12, 2012, 5:47 AM
25 Posts

Attachment download without data source

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1

I have one xPage which I am using to show common data for different modules. I want to show an attachment in file download control. Can anyone guide me how I can show the attachments in file download control without data source? I cannot create data source on xPage as it is common for all modules.

Jun 12, 2012, 8:26 AM
126 Posts
Re: Attachment download without data source
An attachment is something that is attached to a document it can't be on its own, the file download control is built to display attachments on domino documents it can't be modified to work in another way.
 
If you don't want to do this then add a file to your app and just provide a link along the lines of  
 
http://<serverName>/<databaseName>/<fileName> 

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