Handling Long Media Campaign Names in PDF Quotes
Summary:
When the Media Campaign name is too long, it does not render correctly in the PDF quote. This results in text truncation and misalignment, which can also affect the display of other fields on the cover letter.
Reason:
The standard Media Campaign Name field does not support line breaks. As a result, the Quote PDF is unable to properly display large values in this field, since it does not automatically wrap the text. This leads to the error mentioned above.
Workaround:
Create a Custom Field:
Add a new custom field to the Media Campaign object.
Set the field type to Text (Long), as it supports line breaks.
Modify the Name Format (Easier option):
The issue occurs because the name does not contain spaces. Adding spaces into the name will resolve the issue as a workaround.
Update Quote Settings
Navigate to the quote settings in your configuration.
Add the newly created custom field to be displayed in the PDF quote.
By using this approach, you can break long Media Campaign names into multiple lines, ensuring that the text aligns properly and does not impact other fields on the PDF cover letter.