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.



Dec 10, 2011, 3:07 PM
170 Posts
topic has been resolvedResolved

Fileupload control and 2 datasources

  • Category: Server Side JavaScript
  • Platform: Not Applicable
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 1
 If i have two data sources on an xpage and save one of them and have a file upload control in this one 
The upload doesn't work. 
 
I would like to have a dialog on an xpage with a file upload that saves to a diffrent datasource than the one used in the xpage and closes the dialog after the upload. 
 
anybody got this to work? 
 
/Fredrik 
Dec 11, 2011, 2:55 AM
150 Posts
Re: Fileupload control and 2 datasources
 
This might help
 
#1. submitting an xpages will submit all data sources, (Do not use submit in a button and use request scope to avoid this)
#2. file upload only works with a full update (not partial refresh)
 
Thomas

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.