Skip to Content
0

How to store a file in an offline indexedDB using SAPUI5

Apr 18, 2017 at 04:15 AM

118

avatar image

Hello Experts,

I am trying to find out whether it is possible to store a file in the offline IndexedDB , using SAPUI5 , and later retrieve it. I have used indexedDB for storing data in the key value pair format for data from simple entities . But is it possible to do so for files or images?

I want to save the file in indexedDB while being offline and retrieve it to upload when online

Thanks and Regards

Aman Anand

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ram Burugu Jul 18, 2017 at 01:47 PM
0

Please find this blog which has information on how you can save files in IndexDB

https://hacks.mozilla.org/2012/02/storing-images-and-files-in-indexeddb/


Share
10 |10000 characters needed characters left characters exceeded
Jitendra Kansal
Jul 18, 2017 at 11:07 AM
0
Share
10 |10000 characters needed characters left characters exceeded