Print activity stream as pdf possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hamster
    Junior Member
    • Apr 2023
    • 17

    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.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #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.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...