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']}

This seems inconsistent. I’m size grouping Documents into Document Sets, and I want to Separate by Document Sets. When I try to use “${document.metadata.itemSize}”, I’m told I can’t do that unless I’m separating by Documents. When I try to use ${set.metadata.itemSize}, the output preset throws an error that this variable is undetermined.

So I want to repeat the question: how does one use the “itemSize” metadata field when grouping by size and separating? What level is the itemSize metadata field on? The link you provided doesn’t show “itemSize” anywhere on the page. Searing the Help system for “itemSize” also fails to provide useful results.

Edit: typos strike again. It’ s “ItemSize”, not “itemSize”, and it’s always created within the grouping level you’ve selected ${set.metadata.ItemSize} in my case.