RE: is there any limitation with response.write? anyone knows?

Hello Everyone,

I have to do bulk pdf download for invoice,  For that I have created two suitelet first for user interface where user can select dates based on that invoice information appear with checkbox and second one is to perform advance pdf.

when user click on checkbox and click on submit, then only last one file is getting downloaded. I have use response.write to download but its working just for last one.

I thought it can be problem may be I would not have written this line into loop but when I stored created file into the file cabinet, then all files are not only generating successfully even having store in folder in file cabinet..


Please help to understand API nature. currently I have done this in other way but I’m curious to know why it was not getting downloaded on browser.

Ajay_K_Mandloi Rookie Asked on July 25, 2023 in SuiteScript.
Add Comment
3 Answers

Thanks, @Nelliott. but then how would we pass invoice id from suitelet to client. as my client script should be execute when user select check box and click on standard submit button.


Rookie Answered on July 26, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.