Posted by a ceTe Software moderator
Hello,
Please note that the report template (DPLX) created using DynamicPDF Designer will need to be used with DynamicPDF ReportWriter to generate PDF report. The DynamicPDF ReportWriter product is specifically designed to generate PDF reports using the data from the database and list of objects. It is not possible to add the lists directly in the Designer’s GUI but you can create PDF by using data from collections objects.
If you have existing PDF and want to add contents (data from the collection objects) on the PDF page dynamically then you can set this PDF as background by setting the path and choosing the desired page by setting the page number in the DPLX file. Add the report elements (RecordBox or RecordArea) at desired locations as per your requirements to the DPLX file. You can refer to the documentation on using templates
here. Then use the collection objects as recordset to generate PDF report. You can refer to the documentation on using collection objects as recordset
here.
Please make sure you are setting the correct name of the items in the collections objects for the RecordBox or RecordArea. You can refer to the documentation on RecordBox report element
here. Also code sample on creating and accessing DPLX files dynamically for generating PDF reports
here.
Another way to add lists to the PDF report is using PlaceHolder report element and OrderedList page element. You will need to place the PlaceHolder report element on the DPLX file and dynamically create OrderedList object by adding items of the list to it. Then add this created OrderedList object to the PDF report using the LaidOut event of the PlaceHolder. You can refer to the documentation on event handling
here and documentation on OrderedList
here. The code sample in the help topic has details to add the barcode page element to the PDF. Similarly you can add OrderedList page element to the PDF. Please note that the Placeholder report element cannot be expanded or splitted.
Thanks,
ceTe Software Support Team.