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

How to Remove .docx or .pdf from Docgen Title

公開日: Mar 4, 2025
説明
When generating a document from omniscript, the title is always added with the document format eg .docx or .pdf. how to remove this?

Capturedocgen (1).png
解決策
Every document whether it's pdf or document, it will have its own dot extension at the end. Pdf will have .pdf at the document name end and similarly .docx

.docx is expected, but cannot customize the title. To completely hide the title, use customCss. Upload the custom css file to the staticResources and use it in the LWC component as shown in the screenshot below.

Custom CSS Sample:
 
.showPreview .documentTitle {
display: none;
}



image (9) (1).png
ナレッジ記事番号

000392427

 
読み込み中
Salesforce Help | Article