Skip to Content

How to store a file in an offline indexedDB using SAPUI5

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 18, 2017 at 01:47 PM

    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/


    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2017 at 11:07 AM
    Add comment
    10|10000 characters needed characters exceeded