I am currently trying to generate a pdf for a custom entity via a formula. Regardless of what I am doing, the following call always returns neither an id nor null, but always an empty string. There is also no error visible in espocrm's log file, nor a new entry in the attachment db table is created.
ext\pdf\generate('Invoice', entity\attribute('id'), '5f43c701c915c7fec', 'test.pdf')
When using the template with the given id on that entity manually, it works as intended.
I am using EspoCRM 6.1.1. Any hints on why this isn't working? Is there any way to "debug" a formula?
ext\pdf\generate('Invoice', entity\attribute('id'), '5f43c701c915c7fec', 'test.pdf')
When using the template with the given id on that entity manually, it works as intended.
I am using EspoCRM 6.1.1. Any hints on why this isn't working? Is there any way to "debug" a formula?
Comment