Creating a PDF Document Using Data from Database

Date: 7 August 2012
Product/Release: LANSA Integrator - All Versions
Abstract: Using data from a Database to create a PDF.
Submitted By: LANSA Technical Support


How do you generate a PDF using data from a database? For example, if you have employee details, which includes all their header information and other detail related information like skills, multiple addresses, etc. and you want to put all of this into a PDF document.


PDFDocument service: This uses the shipped LANSA Integrator service to design and build dynamic PDF documents. This is good for creating basic and complex PDF’s but requires knowledge of LANSA Integrator, as well as some expertise with XML when designing the layout (since the layout in XML will need to be hand-cranked).