Expand my Community achievements bar.

SOLVED

Text field contents to BOLD

Avatar

Level 3

New to text mode, I have cleverly displayed two columns values in one column with a line break, I would now like to embolden the first value (program name) to further distinguish it from the second value - please help!

column.3.displayname=Project and Line
column.3.linkedname=program
column.3.namekey=view.relatedcolumn
column.3.namekeyargkey.0=program
column.3.namekeyargkey.1=name
column.3.querysort=program:name
column.3.sharecol=true
column.3.textmode=true
column.3.valuefield=program:name
column.3.valueformat=HTML
column.4.displayname=Column
column.4.sharecol=true
column.4.textmode=true
column.4.value=<br>
column.4.valueformat=HTML
column.4.width=1
column.5.descriptionkey=name
column.5.displayname=Line Name
column.5.link.linkproperty.0.name=ID
column.5.link.linkproperty.0.valuefield=ID
column.5.link.linkproperty.0.valueformat=int
column.5.link.lookup=link.view
column.5.link.valuefield=objCode
column.5.link.valueformat=val
column.5.linkedname=direct
column.5.listsort=string(name)
column.5.namekey=name.abbr
column.5.querysort=name
column.5.section=0
column.5.shortview=false
column.5.stretch=30
column.5.textmode=true
column.5.valuefield=name
column.5.valueformat=HTML
column.5.width=250

1 Accepted Solution

Avatar

Correct answer by
Level 9

To modify the text's appearance (bold, italic etc), you can wrap the 'value' portion of your column in HTML tags.

 

My sample below would render as:

 

Refresh Requirements:  <value in the column.9 field>

Refresh Owner:  <value in the column 11 field>

 

Bonus: The "<br>" tag in line 10 is what causes the line-break to appear between the fields. 

 

column.8.displayname=Refresh Details
column.8.sharecol=true
column.8.textmode=true
column.8.value=<strong>Refresh Requirements: </strong>
column.8.valueformat=HTML
column.9.displayname=
column.9.linkedname=direct
column.9.namekey=Email License Refresh Requirements
column.9.sharecol=true
column.9.textmode=true
column.9.valuefield=Email License Refresh Requirements
column.9.valueformat=customDataLabelsAsString
column.10.sharecol=true
column.10.textmode=true
column.10.value=<br><strong>Refresh Owner: </strong>
column.10.valueformat=HTML
column.11.displayname=
column.11.linkedname=direct
column.11.namekey=Refresh Owner
column.11.querysort=DE:Refresh Owner
column.11.sharecol=true
column.11.textmode=true
column.11.valuefield=Refresh Owner
column.11.valueformat=customDataLabelsAsString

View solution in original post

4 Replies

Avatar

Correct answer by
Level 9

To modify the text's appearance (bold, italic etc), you can wrap the 'value' portion of your column in HTML tags.

 

My sample below would render as:

 

Refresh Requirements:  <value in the column.9 field>

Refresh Owner:  <value in the column 11 field>

 

Bonus: The "<br>" tag in line 10 is what causes the line-break to appear between the fields. 

 

column.8.displayname=Refresh Details
column.8.sharecol=true
column.8.textmode=true
column.8.value=<strong>Refresh Requirements: </strong>
column.8.valueformat=HTML
column.9.displayname=
column.9.linkedname=direct
column.9.namekey=Email License Refresh Requirements
column.9.sharecol=true
column.9.textmode=true
column.9.valuefield=Email License Refresh Requirements
column.9.valueformat=customDataLabelsAsString
column.10.sharecol=true
column.10.textmode=true
column.10.value=<br><strong>Refresh Owner: </strong>
column.10.valueformat=HTML
column.11.displayname=
column.11.linkedname=direct
column.11.namekey=Refresh Owner
column.11.querysort=DE:Refresh Owner
column.11.sharecol=true
column.11.textmode=true
column.11.valuefield=Refresh Owner
column.11.valueformat=customDataLabelsAsString

Avatar

Level 3

Hello Katherine - thank you for getting back to me with a solution that does work in your instance as the text is a known value - my case is a variable as I'm pulling the project name (program name) each time and so I believe my issue is around this line of code

column.3.valuefield=<strong>program:name</strong>

Your solution works if it is a value but not a valuefield

I feel like there's a simple solution, but I'm struggling to find it!

Avatar

Level 9

That will teach me to answer questions before coffee! Read that completely backwards. I know I've done something in text mode before where I had 3 shared columns and used conditional formatting logic to display clickable icons based on whether or not certain fields were filled out with URLs. Not quite what you're describing, but in the same vein of cosmetic changes based on fields. I believe my solution began with getting my individual columns to display the way I wanted with conditional formatting rules first. Have you gone down that route yet?

 

https://experienceleague.adobe.com/docs/workfront/using/reporting/reports/text-mode/use-conditional-...

Avatar

Level 3

I've not gone down that road yet, as I say I'm very new to this and first glance the conditional formatting blows my mind..

There is however a bold example in there so I will persue....

Thank you