I have a job which is CSV input which goes through a datamapper and then through a template. We are outputting single PDF’s per record (upto 50k PDF’s). I need to get the page count for each record, but from the standard metadata the pages in document is always set to 1. I saw a thread somewhere about a work around to get this but I can’t find it, does anyone have any ideas?
I was wondering if it’s possible to update metadata from a template as we could then add the pagecount from the template into a existing metadata field.
Yes, you will have to use the same kind of solution to add the page count to the metadata in case you would like to extract the page count from the metadata later on.