Loading

Line Column Text Wrap Behavior for CPQ Document Generation

Fecha de publicación: Nov 15, 2024
Descripción

When a Line Item field contains a long string of continuous text (no spaces) the line won't wrap and the text will overlap into the next column. This can be observed in Product Name or Description fields that contain long product SKUs. 

Solución

List of workarounds to prevent this issue from occuring:

  • The following special characters if inserted into the text will force a line wrap even in continuous text: 
    • -
    • *
    • #
    • %
    • '
    • +
    • &
    • ?
    • <
    • >
    • "
    • |
  • Create a custom formula field to parse the text and insert a line break and then display this field in your table column.
    • IF(LEN(SBQQ__Product__r.Description) >= 30,
      LEFT(SBQQ__Product__r.Description, LEN(SBQQ__Product__r.Description)/2) & BR() & RIGHT(SBQQ__Product__r.Description, LEN(SBQQ__Product__r.Description)/2),
      SBQQ__Product__r.Description
      )
  • Use the Line Column Separate Line feature to display the text on its own line to allow for full page width. 
Número del artículo de conocimiento

003834044

 
Cargando
Salesforce Help | Article