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.

  1. In Project view, select the Report# object.
  2. In Properties, under Events, after PDF generated, select AddAdd new method.
  3. Under the expanded Reports# object, select Generate PDF.
  4. Choose Select.
  5. In Properties under Method and Input arguments, in OutputPath, select Browse.
  6. In Select file, select the .xml file for the report and then choose Select.
    To assign a file to OutputPath, enter a value. For example, enter %APPLICATIONDIR%/Report.pdf, to generate a Report.pdf file in the ApplicationFiles directory of the project.
  7. In Properties, after LocaleId, select Add Dynamic Link.
  8. In the Dynamic Link Editor, enter the locale.
    For example, enter en-US.
    Tip: The locale determines the translation of text, units of measurement, and format of the report. If you do not enter a value in LocaleId, the report assumes the locale of the project.