1 answer
Hi Siva,Greetings!Can you please try the sample code given in the below document and make changes to the records that you wanted to put in the PDF.https://developer.salesforce.com/forums/?id=906F0000000B3qbIAChttps://salesforce.stackexchange.com/questions/237844/how-to-upload-a-file-to-a-specific-library-folder-using-apexKindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.Warm Regards,Shirisha Pathuri