Setting PDF Attachment Conversion Timeout

You can set a timeout value for attachment conversion and processing programmatically in PeopleCode or in BI Publisher’s Global Properties page.

Understanding Setting PDF Attachment Conversion Timeout

When you set a timeout for PDF conversion, if the PDF conversion process is not finished within the specified time, the process is terminated, an error displays, and details are logged in the log file.

For bursted BI Publisher reports the conversion timeout value is used for report attachments for each bursted report instance

The PeopleCode runtime method overrides the value defined in the Global Settings and can be used in cases where relatively large files or a large numbers of files are expected. It also makes sense to increase the timeout interval at runtime in cases when a report is running via process scheduler (PRCS) and execution time is not a priority.

Note:

Any programmatic setting made takes precedence over the setting on the Global Properties page.

Setting PDF Attachment Conversion Timeout Programmatically

To set the PDF attachment conversion timeout programmatically, use the following PeopleCode:

&oRptDefn.setPDFConversionTimeOut(&oitTimeOut); 

Where oitTimeOut is a timeout value in seconds.

Setting PDF Attachment Conversion Timeout in the Global Properties

You must have the Report Developer role to set the timeout property in the Global Properties.

To set the PDF attachment conversion timeout in the Global Properties:

  1. Select Reporting Tools, and then BI Publisher, and then Setup, and then BIP Global Properties.

    The Global Properties page appears.

  2. From the Property Group drop-down list, select PeopleTools Settings.

  3. For the psxp_pdfconversion_timeout property, enter a value (in seconds) in the Text column. The default value is 20 seconds.

  4. Click the Save button.