FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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.

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.