OL Learn

Size grouping in output preset

Hi there

can someone help me with this? this is more to understand how it works rather than a live job… I have a source PDF of statements, really clean to work with as the layout is very static… I want to group by the account number and produce the output using the ‘size grouping’ ie 1-6 sheets will run on the machine and 7+ becomes C4

I have this working but there is a “meta data property” (‘itemSize’ is the default value applied)
I was reading that this could be used in the output file name, currently i have “${file.nr}${template}.pdf” in the job output mask, how do i use the ‘itemSize’ metadata in the filename?

thanks, Richard

You’ll find a complete list of variables here: https://help.objectiflune.com/en/planetpress-connect-user-guide/2021.2/#designer/Output/Print/Variables_available_in_the_Output.htm#toc-0

${document.metadata.itemSize}
or
${document.metadata['itemSize']}