HI,
I searched the forum, but I couldn't find.
is there any functional way to create a pdf into a document attached to an entity?
something like this:
$createdpdfid = ext\pdf\generate('protocol', entity\attribute('id'), 'protocoltemplate', 'protocol.pdf'
$createddocid = record\create( 'Document',...
record\relate('Document', $createddocid, ...
record\attribute('Document', $createddocid, 'file') = $createdpdfid;
thank you for help
I searched the forum, but I couldn't find.
is there any functional way to create a pdf into a document attached to an entity?
something like this:
$createdpdfid = ext\pdf\generate('protocol', entity\attribute('id'), 'protocoltemplate', 'protocol.pdf'
$createddocid = record\create( 'Document',...
record\relate('Document', $createddocid, ...
record\attribute('Document', $createddocid, 'file') = $createdpdfid;
thank you for help
Comment