Announcement

Collapse
No announcement yet.

Print activity stream as pdf possible?

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

  • Print activity stream as pdf possible?

    While I played around with pdf templates, I wonder if it is possible to print the whole activity stream of i.e. a case as pdf using a template.

  • #2
    Hi,
    yes is possible by coding : https://docs.espocrm.com/development/metadata/pdf-defs/
    pdfDefs : application/Espo/Modules/Crm/Resources/metadata/pdfDefs/Account.json
    sample : application/Espo/Modules/Crm/Classes/Pdf/Account/ExampleDataLoader.php

    Stream is "Note" entity, you just need load collection of Note related to entity.

    This give a solution to another question on forum, how "log" print event. (of course, you have another way to do too with interface printer)

    Edit : forget i have make a howto https://forum.espocrm.com/forum/deve...r-pdf-printing

    Last edited by item; 09-08-2023, 08:48 PM.

    Comment

    Working...
    X