/
Handling Long Media Campaign Names in PDF Quotes

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.

 

 

Screenshot 2024-12-27 at 12.04.43.png
The full name is not visible, and the field positioned beneath the name is displaying incorrectly.

 

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:

  1. 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.

  2. 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.

 

 

Screenshot 2024-12-27 at 12.09.21.png

 

  1. 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.

 


 

Related content