function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Valli KValli K 

i wan to fetch content from a zip file[json data] and dispaly it in lightning component. Json formatted zip file os uploaded standard files. that zip file content json data have to display it in lightning component. Any sample code for this.

i wan to fetch content from a zip file[json data] and dispaly it in lightning component. Json formatted zip file os uploaded standard files. that zip file content json data have to display it in lightning component. Any sample code for this.
Valli KValli K
Its really a challenging task.. Appreciate the quick respone..
Suraj GharatSuraj Gharat
You need to find JS library (If availalable) that reads data from zip file.
Valli KValli K
did not get u? it wont help me.
Suraj GharatSuraj Gharat
Could you provide more info on where you zip file is hoisted or stored ?
Valli KValli K
zip file i am uploading files sobject.
Suraj GharatSuraj Gharat
We can generate public sharing link for every file uploaded to Files. This link can be used in Lightning component's JS controller to load it there and read its content from it.

You may try JSZip (https://stuk.github.io/jszip/documentation/howto/read_zip.html" target="_blank) to read zip at client side.