PDFConfiguration: ApprovalFormsInclusionConfiguration & {
    excludedCSSClasses?: string[];
    excludedElementIds?: string[];
    includeCalendarBookingInPdf?: boolean;
    includeExternalIdInPdf?: boolean;
    includePaymentInPdf?: boolean;
    includeSubmissionIdInPdf?: boolean;
    pdfFileName?: string;
    pdfSize?: FormSubmissionPDFPageSize;
    usePagesAsBreaks?: boolean;
}

Type declaration

  • Optional excludedCSSClasses?: string[]

    An array of class names to exclude from the submission when generating pdf.

  • Optional excludedElementIds?: string[]

    An array of element ids to exclude from the submission when generating pdf.

  • Optional includeCalendarBookingInPdf?: boolean

    Whether the calendar booking details associated with the submission should be included in the generated pdf (defaults to false)

  • Optional includeExternalIdInPdf?: boolean

    Whether the external id should be included in the generated pdf (defaults to false).

  • Optional includePaymentInPdf?: boolean

    Whether the payment details associated with the submission should be included in the generated pdf (defaults to false).

  • Optional includeSubmissionIdInPdf?: boolean

    Whether the submission id should be included in the generated pdf (defaults to false).

  • Optional pdfFileName?: string

    The name of the PDF file sent to the configured email address.

  • Optional pdfSize?: FormSubmissionPDFPageSize

    The page size of the Generated PDF.

  • Optional usePagesAsBreaks?: boolean

    Whether pages in the form submission should translate to page breaks in the PDF.