Hello,
I am creating a UI5 application which uses XSJS file to upload the image to HANA in SAP Cloud Platform.
Below are the steps I have done.
1. Created a table with two fields (Image name and Image content (BLOB) in SAP Cloud Platform.
2. Connected the system using Eclipse IDE and created a UI5 application.
3.File contains XML View, Controller file, XSJS, XSAPP and XSACCESS files.
4. I used FileUploader control to upload the file. In the controller, I am passing the XSJS path to uploader method.
5. I am running the application from Eclipse IDE and getting HTTP 404 error for XSJS file.
Please suggest what is missing here.
Attached the error and project structure and file details.
View.xml
Controller.js
xsaccess
xsjs file
Console:
Thanks,
Kishore.