The following API renders a letter using a Letter identifier: public PDFResponseType renderLetter(String letterId, String initialDataXML, boolean mergeDataOnServer, boolean useTestData, boolean renderInteractive);mergeDataOnServer, boolean useTestData, boolean renderInteractive);
Parameter details: letterId: Identifier of the
Letter template to be rendered.
initialDataXML: XML data that will be used to initialize
the data dictionary used in the letter, if any, and finally merged
with the letter's layout after augmentation with the necessary control
data for the letter's content.
This XML data may be fetched
from an external data source.
mergeDataOnServer: This parameter should be set to
True to merge the relevant data into the letter. Should obviously
be true for system generated correspondence.
useTestData: Specify whether to use test data for
rendering. On a production system, this should be set as false.
The given initialDataML is used instead.
renderInteractive: Specify whether to render an interactive
or non-interactive (flat) PDF file.
|
|
|