Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Is your question "How can I use JavaScript to upload a user selected file and capture the returned document?"? That seems to be the only problem you are having, but your concern otherwise seems to be with the design of the server side of this. Commented Oct 15, 2012 at 6:17
  • More or less. The file can be user-selected (like in a form), or programmatically supplied (like from a script). The returned document is really just an ID, with whatever packaging makes sense, and that is usable by client-side JavaScript. My concern is that the server side code is compatible with my client-side use cases. I am happy to adjust either to solve the problem. Commented Oct 15, 2012 at 6:21