on 07-31-2021 10:06 PM
Dear Experts,
I would like to upload a file to the webserver for further processing using openUI5, and was trying the sample code available from sap.ui.unified.FileUploader (FileUploaderComplex);
however, nothing is actually uploaded (uploadUrl is coded as follows, and folder 'upload' is available on the webserver)
uploadUrl="upload/"
The console shows this log:
Do you have any suggestion or working code example to help me with this?
Many thanks and best regards,
FC
I am not sure if it works like that, the Upload URL should be a webhook or a service that saves the data to a table or in your case creates a file in the folder. So the URL that you have specified there should handle the save/file creation logic, like how it is done in case of SAP ABAP.
https://blogs.sap.com/2018/06/22/media-handling-in-odata-in-sap-ui5/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.