Skip to main content
William
Adobe Employee
Adobe Employee
Mar 5, 2018 5:58 PM UTC
Solved

Line breaks in a calculated field

Is this possible? I'm using CONCAT to display multiple attributes in a calculated field. I would prefer to separate each attribute with a line break. Have tried actual line breaks within " " but that doesn't work. Ideas, or not possible? William English
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
William
WilliamAccepted solution
Adobe Employee
Mar 8, 2023 3:22 PM UTC

I raised this question back in 2018 (almost to the day! - five years has really flown by...)

The same question was raised again in 2022 by another user, and at that time a workaround was identified to enable line breaks in calculated fields.

I'm linking to that newer thread from here for any users who stumbled upon this older post looking for a solution.

The thread explaining a workaround solution can be found here:
https://experienceleaguecommunities.adobe.com/t5/workfront-questions/text-calculated-custom-fields-concat-separator-options/m-p/544651/highlight/true#M49491

If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/4rbpr7hf

2 replies

Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
Mar 5, 2018 6:33 PM UTC
Hi William, I've taken a run at this one several times, but so far, have not found a special character that will force a new line within a calculated parameter. My impression is that Workfront (wisely) ignores HTML characters (to avoid client side injection attacks) such as , ,
, etc. and instead renders them as plain text. Same deal with \r\n, and (I'm pretty sure I also tried) special hex escape code. Practically speaking, I usually use | (the vertical pipe symbol) which is allowed, does give a sense of separation, and can be used as a Text-To-Columns delimiter when the data is exported to Excel, such as this: CONCAT(Entry Date,' | ', Note Text) Regards, Doug Doug Den Hoed - AtAppStore Got Skills? Lend a hand! https://community.workfront.com/participate/unanswered-threads
Translate
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.
William
Adobe Employee
WilliamAdobe EmployeeAuthorAccepted solution
Adobe Employee
Mar 8, 2023 3:22 PM UTC

I raised this question back in 2018 (almost to the day! - five years has really flown by...)

The same question was raised again in 2022 by another user, and at that time a workaround was identified to enable line breaks in calculated fields.

I'm linking to that newer thread from here for any users who stumbled upon this older post looking for a solution.

The thread explaining a workaround solution can be found here:
https://experienceleaguecommunities.adobe.com/t5/workfront-questions/text-calculated-custom-fields-concat-separator-options/m-p/544651/highlight/true#M49491

Translate
If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/4rbpr7hf