Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

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

ナレッジ記事番号

005131021

 
読み込み中
Salesforce Help | Article