How to output report file based on record pages?

Hi,

I would like to create a text file (report)

customer_no|number_of_pages
1| 2
2| 5
3| 10

that shows each record how many pages they have. This job is transactional, so it would definitely implement overflow page feature.

Where and how would I do this?

Thank you in advanced.
E

Guess you want to create this report after the output is created. Is that correct?

Hi Erik,

Yes. That’s correct.
The report will have data record fields plus the number of pages the document has generated for each mailpack/record.

Thanks

Same\Similar topic: Retrieve the total number of pages and records of a print Job - OL Connect Professional - Upland OL User community

Seems it isn’t doable at the moment but I look forward for tips and\or workarounds. Maybe even using the APIs if needed (but I have yet to fully understand them).

I attached something I was playing around with in my spare time. The idea was to use our API to populate a table with completed jobs, including record counts and page counts.

You should be able to unzip and run it with any modern browser, it is a simple self-sufficient HTML file. Note that it assumes Connect Server is running on localhost:9340.

Unfortunately I got stuck trying to include more detailed info per job. I’m getting the impression that some basic stuff is missing from our API.

Perhaps it’s of some use to someone anyway.

AdminConsole.zip (1.4 KB)

Thanks Sander.

Are you able to direct us to where the API documentation can be found? That I may be able to play around with this workaround.

https://help.objectiflune.com/en/PReS-connect-rest-api-cookbook/2022.1/

The parts I used are:

Note that those examples all use jQuery and AJAX, but that technology is out of fashion. The file I attached uses the Fetch API instead. It still uses jQuery for the DataTables feature, but I would normally avoid jQuery as well.

2 Likes