0

Really need help in getting this over the line. I have a long text area like this:

Policy Type: Accidental Damage (SCTP), Policy Start Date: 27/03/2022, Acceptance Criteria: All default to No, Insured Name: Account Name, Date of Birth of Oldest Insured: Date of birth of primary contact, Existing Policy With Selected Insurers: No (SCTP), Holding Broker: Yes, Holding Underwriter: Other With no insurer specified

, which needs to be like this:

Policy Type: Accidental Damage (SCTP)

Policy Start Date: 27/03/2022

Acceptance Criteria: All default to No

and so on.. This needs to be in a flow as I am copying this from property long text area to opp long text area filed.

I have tried BR() and substitute so far, but they don't seem to work.

SUBSTITUTE( JSENCODE( {!fieldname} ) , 'undefined\r\n', '<br>')

1 Answer 1

1
You can’t use long text area, encrypted, or Description fields in formulas.

Doc Reference

Sadly, Text Area Long fields are ill-supported in the SFDC Formula language. See Idea

You're going to need to escape to an Apex Action to do the reformatting

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .