標準の「ドキュメントを生成」コンポーネントでは、keepIntermediate = false を直接設定する方法は提供されていません。
[ドキュメント添付] を [PDF] に指定すると、内部的に keepIntermediate = false となります。
この設定は中間ファイルにのみ適用され、最終的な PDF の保存やプレビュー表示には影響しません。
Keep Intermediate とは?:
PDF 変換用に生成された中間 DOCX または PPTX ファイルを保持するかどうかを指定します。attachFileFormat と downloadFileFormat の両方が pdf に設定されている場合、keep-intermediate=false に設定すると、変換後に中間ファイルがシステムによって削除され、ストレージの使用量が削減されます。
LWC である ClmOsDocxGenerateDocument、ClmOsWebGenerateDocument、および ClmOsMultiDocxGenerateDocument を介して、OmniScript の singleDocxLwc、singleWebLwc、multiDocxLwc をサポートします。デフォルトでは keep-intermediate は true に設定されており、既存の動作が維持されます。
【設定手順】
1. 対象の Lightning アプリケーションビルダーを開き、「ドキュメント生成」コンポーネントをクリックします。
2. プロパティ設定パネルで [ドキュメント添付] から [PDF] を選択します。
3. [保存] し、必要に応じて [有効化] します。
参考 Help:Step Properties for the fndmultiDocxLwc Omniscript
https://help.salesforce.com/s/articleView?id=ind.doc_gen_fndmultidocxlwc_omniscript_structure_394764.htm&type=5
005466714

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.