Hello ,
Little help .
I am trying to upload a file(JSON) to UI5 application and want it to read the content but not able to do it
getting the FileUploader object and checking its data() , it is mentioning in console that it is an object but when i parse it there is no success
So i tried to see if anyhow i am able to make the upload operation with UI5 controllers
upload url is /fileSIM/data , fileSIM is the project name and data is the folder where file should be uploaded
When the button is pressed calling the upload() function
It is also giving undefined for upload() operation call and there is the error
"GET http://localhost:64460/fileSIM/data/jetty-dir.css Uncaught TypeError: Cannot read property '1' of null "
I do not want to use general JS operation of file read and make use of UI5.
It should not be that difficult , i might be missing something very simple
-Ajay