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



Aug 31, 2012, 6:22 PM
47 Posts

FileUpload Controls

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 2
I am creating a problem ticket form/xpage.  I'd like the user to be able to upload a file (screencapture or log).  I've added a FileUpload control and bound it to a backend document RichText field.  When I submit the attachment isn't saved.  I also noticed that there are issues in the log file on security (path not found for upload /tmp dir and file types not being allowed).
 
So:
(1) Where are these security limitations set? 
(2) If in the INI or server doc then how do developers actually have an upload control on their forms and save to the document if we can't effect these settings?
 
Thanks.
Sep 4, 2012, 6:52 AM
25 Posts
Re: FileUpload Controls
 
I think this is the issue with refreshing. Are you refreshing file upload control before submitting the request? if so, avoid the refreshing else check is any thing happening before submitting the request which lost the selected path from upload control.
 
for more detail, you can refer - http://www-01.ibm.com/support/docview.wss?uid=swg1LO68177
Sep 4, 2012, 6:55 AM
18 Posts
Re: FileUpload Controls
 As a alternate, you can use file download control and save the attachment on document immediate after uploading the doc. You will never face such issue as it was already uploaded.

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