Configure an event to generate a PDF
Each report has a default
PDF generated
event. Configure the
Generate PDF
method for the event to specify the output file and locale for the report. - InProject view, select theReport#object.
- InProperties, underEvents, afterPDF generated, selectAdd new method.
- Under the expandedReports#object, selectGenerate PDF.
- ChooseSelect.
- InPropertiesunderMethod and Input arguments, inOutputPath, selectBrowse.
- InSelect file, select the .xml file for the report and then chooseSelect.To assign a file toOutputPath, enter a value. For example, enter%APPLICATIONDIR%/Report.pdf, to generate aReport.pdffile in theApplicationFilesdirectory of the project.
- InProperties, afterLocaleId, selectAdd Dynamic Link.
- In the Dynamic Link Editor, enter the locale.For example, enteren-US.TIP: The locale determines the translation of text, units of measurement, and format of the report. If you do not enter a value inLocaleId, the report assumes the locale of the project.
Provide Feedback