Loading

Generate only PDF Document using Server-Side Document Generation

게시 일자: Aug 1, 2025
상세 설명

In Salesforce Industries (Vlocity) Document Generation, when using the Apex class approach for server-side document generation, the default behavior generates both a Word document and a PDF. However, certain business use cases may require generating only the PDF output without saving or generating the intermediate Word document. This article outlines how to configure the generation request to produce only a PDF document by using the appropriate parameter.

솔루션

Refer the code from this document.

To generate only the PDF document using the Salesforce server-side document generation API and exclude the intermediate Word file:

  1. Use the KeepIntermediate parameter in the requestText JSON body.

  2. Set "KeepIntermediate": false

Knowledge 기사 번호

005131021

 
로드 중
Salesforce Help | Article