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.
Print activity stream as pdf possible?
Collapse
X
-
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