Question

PwC
IT
Last activity: 22 Mar 2023 5:32 EDT
Generate a PDF with data from page in pagelists
Hi everyone,
I have a casetype with a pagelist property (.Customers) that contains another pagelist (.Documents).
So, for example:
CaseType | Customers | Documents |
---|---|---|
AAA | Jhon | Doc1 |
Doc2 | ||
Mike | DocX | |
DocY |
I want to create a PDF for each document: so, in this example, 4 PDF.
Furthermore, each PDF must contains data from .Documents Property (of class -Data-Document), for example .Documents(1).ID, .Documents(1).Date (and of course the same for .Documents(2)).
I have already seen the pxCreatePDF (class Work-) but I can't use it in my scenario (it works under class -Work, but not under class -Data... I Imagine because it attaches the PDF to the casetype).
Thanks so much,
Lorenzo