4 weeks ago
Good morning ,
i'm making a application that save data from a csv file , the upload works perfectly , but when i try to save the data this errors appears and i don't know why , everything was perfectly work but i dunnow why this appears
"TypeError: i.setStatus is not a function", can someone help me please .
3 weeks ago
3 weeks ago
Hello Dan , there is already a blog that can help you
check this : https://community.sap.com/t5/technology-blogs-by-sap/loading-data-from-a-csv-file-into-sap-build-app...
also for downlading an empty CSV file you can add a logic for Download button :
and in the right side of this logic you can run this function to convert the headers of the CSV file into Base 64 :
const headers = "";
const base64EncodedHeaders = btoa(headers);
console.log(base64EncodedHeaders);
NB: header is seperated by ";" like : "FirstName;LastName;Age;Role"
2 weeks ago - last edited 2 weeks ago
2 weeks ago