0

We want to provide user a feature to download case relared data. Is there a way we can achieve it asynchronously. Issues we are facing in synchronous way are:

  1. Data is too large, so we are getting heap size error.

  2. It is taking too long time, so we want it asynchronously.

Appreciate your help.

Regards ​Ankur

  • 3
    How big is this file you're trying to process? – sfdcfox Oct 9 '16 at 17:16
0

Yes you can do so. I recommend storing the file somewhere and give user a download link through streaming API (execution context will be different).

That makes sense in case where file size is between 6 and 12 Mb.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.