Skip to Content
0
Former Member
Jun 16, 2017 at 03:25 PM

How to read a file using XSJS on HANA?

989 Views

I have an XSJS app and I would like to be able to read a file(text or CSV) and get the data from it. Then I'm making a data call to the backend to retrieve the data(this part already done) and I want to store that data into another file (text or csv). Unfortunately I haven't found any examples on how to read and write files in xsjs. The file I'm reading will be residing within the same package but I don't know what function to use to read the file. Can anyone point me to where to look?