Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Highlight Phrase with Color

KamenRider
11 - Bolide

HI Guys,

 

Just wondering if it is possible to highlight phrase in yellow for example followed by succeeding words. I have tried the Report text tool and there is no high lightening of words. 

 

Below is an example of output: 

 

apprvoe.PNG

Please advise

Kamen

 

 

5 REPLIES 5
binuacs
21 - Polaris

@KamenRider one way of doing this

image.png

KamenRider
11 - Bolide

Hi @binuacs 

 

Great, how can I add a space betwen "approve" and "the". And if I have to include the shared drive like "//DriveF/Apple/Quantity", how should I post it?

 

Please advise.

Kamen

binuacs
21 - Polaris
CoG
14 - Magnetar

For space, you can use the non-breaking space character:

'<span style="color:black; font-size:12px;"> ' + CharFromInt(160) + 'the Amageddon Deck for week' + '</span>'

 

what do you mean by include the shared drive? The text can just be included like any other text if that's your question.

KamenRider
11 - Bolide

HI @binuacs  and @CoG 

 

Made changes to the code:

 

'<span style="background-color:yellow; padding:5px; font-size:12px; color:black;">'
+ [Phrase] + CharFromInt(160) +
'</span>' +
'<span style="color:black; font-size:12px;"> '
+ 'the Amageddon Deck for week' +
'</span>'
+'<div style="color:black; font-size:12px; padding:5px;">'
+ '<a href="//DriveF/Apple/Quantity">//DriveF/Apple/Quantity</a></div>'

 

Thank you.

Kamen

Labels
Top Solution Authors