Discussions

Problem that line breaks do not work in field merges

User_SF7YL
User_SF7YL Posts: 1 Red Ribbon

When I embed a field merge of long text of a custom object in an HTML email created by Eloqua, line breaks in the text do not work.

Is there a solution for this specification?

By the way, line breaks work for text mail.

Answers

  • Sachin Jain-Oracle
    Sachin Jain-Oracle Mr Posts: 162 Employee

    Hi @User_SF7YL ,

    Thank you for reaching out to the community forum with your question.

    It is possible to have line breaks for fields using a large text data type but keep in mind that field merges operate off of contact fields, CDOs, or account fields, but they cannot operate through large text fields. Unfortunately, there is no current method to add line breaks to an Eloqua field that utilises a data type of text. Kindly refer below link for more details:

    https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=1c2s6m3nwv_4&_afrLoop=344822203318411

    If you would like to continue the discussion here, please feel free to post your comment or feedback.

    Please click "yes" in the "Did this answer your question" section below if I answered your question.

    Thanks

    Sachin Jain

    CX Community Manager.

    Stay Safe | Stay Healthy

    Thanks, and Best Regards

    Sachin Jain | CX Community Manager

  • Razvan Luciu
    Razvan Luciu Posts: 1 Green Ribbon
    edited Jul 19, 2022 5:13PM

    HTML content cannot be added to CDO records, so the line break <br /> does not work. The solution you have chosen, Shift + Enter, works only on Plain text, not on the HTML version of the email.

    Another way around this would be to create a field merge for each paragraph in the email (content block) and then those paragraphs will have a line break between them.

    Before (without line break):

    HEADER

    Field merge

    {

    Paragraph 1

    Paragraph 2

    Paragraph 3

    }

    FOOTER

    ----

    After (with line break):

    HEADER

    Field merge 1

    {

    Paragraph 1

    }


    Field merge 2

    {

    Paragraph 2

    }


    Field merge 3

    {

    Paragraph 3

    }

    FOOTER


    Kind regards,

    Razvan Luciu

    Marketing Automation Expert & Project Lead

    www.logdms.com

    Post edited by Razvan Luciu on