Hello all
I 'd like to know how to have a dynamic name from a field in a database. i have only a ${template} with a Template_0001.pdf result.
I’d like to know how to do a merge between two PDF by name too.
Thanks a lot
Bogdan
Hello all
I 'd like to know how to have a dynamic name from a field in a database. i have only a ${template} with a Template_0001.pdf result.
I’d like to know how to do a merge between two PDF by name too.
Thanks a lot
Bogdan
Hello Bogdan,
To have a dynamic name from a field you could check this answer if it works for you too?
https://learn.objectiflune.com/discourse/t/how-to-give-dynamic-output-names-for-separated-pdf/426/1
Please, could you give us more details about what you are attempting to do to merge between two PDF by name?
Regards,
Luciano
Hello Bogdan,
Try the following file mask pattern:
${template.base}_${file.nr,0000}.pdf
Results in the following for a template called Letter.OL-template:
Letter_0001.pdf
Letter_0002.pdf
${template.base} returns the base name of the template file.
${file.nr,0000} returns a 4 digit sequence number
Hope this is of some help,
Erik