OL Learn

CSV file output

Hello colleagues!

We need some light for a customer requirement.

We have a template that outputs PDF files. In addition to that, we need to output a CSV file with the following data:

  • record id
  • data from a given field
  • total number of pages generated for that record
  • total number of non-blank pages generated for that record

What would be the best way to write such a file on disk? Is it possible to do it during content creation or has it to be done afterwards, via script or so?

Up :slightly_smiling_face: