Display Comma Delimited Custom String List to Line Separated | Community
Skip to main content
Level 10
Apr 16, 2021 3:46 PM UTC
Solved

Display Comma Delimited Custom String List to Line Separated

I have a custom field list called "Managers" that lists calculated data as:

Bob, Mary, Sue

I want to display this data as:

Bob

Mary

Sue

I tried this via a simple HTML substitution, but that doesn't work:

displayname=Managers

textmode=true

valueexpression=REPLACE({DE:Managers},", ","<br>")

valueformat=HTML

The "<br>" displays as text instead of being seen as code:

Bob<br>Mary<br>Sue

Any ideas/tips?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Doug_Den_Hoed__AtAppStore
Doug_Den_Hoed__AtAppStoreAccepted solution
New Participant
Apr 22, 2021 8:23 PM UTC

Hi Kevin,

For me, this was more a case of "if you can't say anything nice, don't say anything at all", but since you asked twice:

"Nope"

With the exception of hyperlinks, As Designed, Workfront lists strip out all of the html special characters that would otherwise allow such "new line" breaks (e.g. <br>, <p>, <div>, \r\l, etc.)...or at least, all of those I've tried multiple times, over time.

Regards,

Doug

5 replies

Doug_Den_Hoed__AtAppStore
Doug_Den_Hoed__AtAppStoreAccepted solution
New Participant
Apr 22, 2021 8:23 PM UTC

Hi Kevin,

For me, this was more a case of "if you can't say anything nice, don't say anything at all", but since you asked twice:

"Nope"

With the exception of hyperlinks, As Designed, Workfront lists strip out all of the html special characters that would otherwise allow such "new line" breaks (e.g. <br>, <p>, <div>, \r\l, etc.)...or at least, all of those I've tried multiple times, over time.

Regards,

Doug

Translate
KevinQu1Author
Level 10
Apr 22, 2021 8:25 PM UTC

Bummer…but thanks!

Translate
KevinQu1Author
Level 10
Apr 22, 2021 5:55 PM UTC

It's unusual for y'all to be so quiet, so maybe I need to re-word my question:

I have a custom field that has a string of data separated by commas…

Joe, Sarah, Peter, Jane

But in reports, I have a request to display the data one per line, using the comma as a delimiter, to make it easier to read:

Joe

Sarah

Peter

Jane

Is there a way to use calculations/manipulations/tricks to make this happen?

Translate
skyehansen
Level 4
Apr 16, 2021 8:57 PM UTC

erm... is this a multi-select dropdown list? (sorry, didn't understand the sentence about listing calculated data, at all...)

Translate
KevinQu1Author
Level 10
Apr 16, 2021 9:01 PM UTC

No, just data in a custom field. The calculated field is just set up to output the names with comma+space between them as a string.

Translate