Apr 17, 2013, 9:30 PM
90 Posts

Have file uploaded in upload control appear immediately in download control

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: File Upload Control
  • Replies: 3
In xpages, is there a way to have a file uploaded in upload control appear immediately in download control?
  

I've been asked for this, in order to show a user immediately that their file has been uploaded.
Apr 17, 2013, 11:23 PM
110 Posts
Re: Have file uploaded in upload control appear immediately in download control
Both fileUpload and fileDownload must be binded to the same data. In the fileUpload event, select 'onchange', then under 'Server Option', select 'Full Update'. Also tick 'Process data without validation' if you don't want any validation to run.
Apr 18, 2013, 10:44 AM
90 Posts
Re: Have file uploaded in upload control appear immediately in download control
Amazing!

Thank you Baxter! 
Apr 18, 2013, 10:41 PM
110 Posts
Re: Have file uploaded in upload control appear immediately in download control
 You're welcome. Make sure to mark this question as 'Resolved' so that other forum members can benefit from it.