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
Nilesh ManeNilesh Mane 

Urgent : Break the pdf in smaller size.

Hi All,


I am generating a pdf from Vf page, its size is around 30 MB.

I need to store that pdf in document folder. But we can not store document more than 5 MB size in document folder.

Is there any way to break the 30 MB pdf in 6 parts and then store it in document folder?

Please suggest any solution / source code for the same.


Thanks in advance.





r u sure that u are getting 30mb of vf page as PDF?

Nilesh ManeNilesh Mane

I know we cannot generate pdf more than 15 MB.

But my requirement is to generate a pdf of 30MB.

Hence I am trying to break it.


u can break and generate to different pdfs but finally how can u result the same in one file..may be this is not possible 

Nilesh ManeNilesh Mane

I just wanted to break in parts. I need seperate parts not whole pdf.

I am not going to merge it in single file again.