Announcement

Collapse
No announcement yet.

Generate many pdfs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generate many pdfs

    Hi!
    What would be the easiest way to generate a lot of pdf documents (or even one to start with) based on existing contact details and a template?


    For example, template could have:
    To: $personFirstName
    Address:$addressStreet
    ...
    other text goes here
    ...

    Just like we are using email templates, something similar to be able to print or store pdf, it could be done with a report and a workflow or by press of a button on the record


    Any ideas?

    Thanks a lot!

  • #2
    Hi Russ,

    With DOMPDF engine, when printing PDFs from the list view, it generates multiple PDF files and pack them in ZIP.

    Comment


    • #3
      Originally posted by Russ View Post
      Hi!
      What would be the easiest way to generate a lot of pdf documents (or even one to start with) based on existing contact details and a template?


      For example, template could have:
      To: $personFirstName
      Address:$addressStreet
      ...
      other text goes here
      ...

      Just like we are using email templates, something similar to be able to print or store pdf, it could be done with a report and a workflow or by press of a button on the record


      Any ideas?

      Thanks a lot!
      Using formula you can generate a pdf based on given template id, see https://docs.espocrm.com/administrat...extpdfgenerate
      Rabii
      Web Dev

      Comment


      • #4
        thanks a lot, I will investigate further

        Comment


        • #5
          Thanks it works!
          However I still can't generate a mass pdfs, It allows me to generate 1 or 2, but 3 and more is not working. Nothing in logs
          Forum does not allows me to upload a video (10 seconds)..here is a link to s3
          Last edited by Russ; 09-01-2023, 06:26 PM. Reason: typo

          Comment


          • #6
            Maybe memory exhausted. How much size a single PDF has?

            Comment


            • #7
              Originally posted by yuri View Post
              Maybe memory exhausted. How much size a single PDF has?
              115 KB per each one, logs are empty, console too

              Comment

              Working...
              X