The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [zip]

referring to compressed archive files.

Filter by
Sorted by
Tagged with
0
votes
2answers
53 views

Is it possible to create a REST API in salesforce that returns zip file

I want to expose a REST API to the other website. The REST API in salesforce basically needs to query on Opportunity data as well as Files related to Opportunity, zip it and return it. Questions: ...
2
votes
0answers
302 views

When using the /sfc/servlet.shepherd/version/download/<VERSION> url hack to download all related Files, can we rename the zip?

So I've been using the /sfc/servlet.shepherd/version/download/ url method to create a button to download all files related to a record. However I was wondering if there is a way to rename the zip file ...
0
votes
1answer
99 views

Why deploy.zip file does not deploy metadata when archived using java.utils.zip?

I have created deploy folder with all correct metadata definitions. If I compress the folder using java program and try to deploy it using DeploySample java code, get success in console but no ...
2
votes
1answer
1k views

Zipping up many files (10+) for download, from a Custom Lightning Component

We would like to allow a user to download an archive of files, which are stored as ContentDocuments. We tried Zippex, but ran into CPU governor limits when the file count started to get above 10. We ...
0
votes
1answer
17 views

Metadata deplyment with Java

I'm trying to use java tool for deployment and seems I having issue with creating zip file.I wrote function that receive list of files path and build ZIP folder with them. Issue is when I deploy the ...
5
votes
2answers
71 views

Cannot get Unit Test to pass in order to push trigger to production

I'm having difficulties creating a Unit Test for an Apex Trigger to pass so I can push the trigger into production. I'm hoping someone can help me or point me in the right direction to where I'm ...
3
votes
1answer
610 views

Files in zipped static resource return 404 errors after being updated

After saving a change to a file in a zipped static resource, all of the files in that static resource return 404 errors. If the changed files that caused the problem are added to another zipped static ...
1
vote
1answer
877 views

Salesforce PDF download using JSZip

SFDC developer here. I have created a VF page which accepts Account id & displays some information on a VF page in tabular form. I need to make multiple calls to this page with different account ...
4
votes
1answer
802 views

Upload zip file in visualforce page

Can anyone tell me how to upload a zip file in visualforce page? My use case is: I have to upload a zip file which contains 10 pdf files and assign these 10 files to 10 contacts For that how can I do? ...
6
votes
2answers
3k views

How to unzip a zipfile attachment in apex and process each file in the zip attachment

I am trying to unzip a zip file attachment. but, unable to unzip the attachment and process all the internal files in the zip file. I want to do this using an email handler class.