Custom company header template on the generated PDF
Published on February 10, 2026 DRTE
Add a Custom Company Header Image to DRTE-Generated PDFs
Question: For Invoices or any other financial transactional objects, can we use a custom company header template on the generated PDF within DRTE (Dynamic Rich Text Engine)?
Short answer: Yes, this can be achieved using a custom image file as the header. Follow the three steps below. |
How to Implement the Custom Header
- Prepare the Image: Create your header image with the specific dimensions of 1340 px (width) x 200 px (height), preferred.
- Generate Public Link: Upload this image to Salesforce Files and generate a non-expirable public link (URL) for the file.
- Configure DRTE: Copy the image URL and paste it into the 'Header Image URL (PDF only)' property within your DRTE template configuration.
Paste the public image URL into the Header Image URL (PDF only) property.
Important: use a non-expirable public link. If the link expires, the header image will no longer load on generated PDFs. The property applies to PDF output only. |
Knowledge Article Number: KA-00097