Hi all,
I'm developing a web application on UI5, where users will upload files to the server.
The standard behavior works ok, the server side is implemented as a Java based REST service.
However, I need the UI5 layer to be aware of the server-side id of the uploaded file.
Using this id, a further service call must be performed to specify additional information on the uploaded file.
As far as I can see from the UI5 docs, the FileUpload control only allows access to the body element of the returned Response.
I'd like to return information to the client in a structured way e.g. JSON, not in an HTML page.
Such returned data should be accessed from within the "uploadComplete" event handler of the FileUploader control.
Can this be achieved?
Thanks, regards
Vincenzo