Skip to main content
Hi All,

   Is there a way I can create the new folder in my library to store records as pdf in a custom object I've created after approval ( Approval Proess = Approved) usering apex controller or trigger ? Thanks for any help

Thanks

Siva
1 answer
  1. Apr 7, 2020, 3:52 PM
    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=906F0000000B3qbIAC

    https://salesforce.stackexchange.com/questions/237844/how-to-upload-a-file-to-a-specific-library-folder-using-apex

    Kindly 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
0/9000