HTML Formatting on Service Portal

westonr
Tera Contributor

I have a catalog item that is available from our Service Portal. The form for this catalog item has a label variable with some instructions for viewing a knowledge base article. I would like to be able to format this text to be highlighted so that it's obvious to end users. 

Originally I used a Macro variable with a jelly script for formatting, but it's my understanding that jelly isn't used in the Service Portal. What would be the recommended method for formatting this variable? Also, how would I go about doing this?

3 REPLIES 3

Nia McCash
Mega Sage
Mega Sage

Can you try adding CSS rules to the widget instance for that particular label's ID, to add the formatting that you want applied?

EDIT: This only works to apply formatting and will not work if you want to add a link to the label of a field.  

Bhagyashree8
Kilo Guru

Hi,

Best way is to create a service portal widget. Add you link inside HTML part of it.

 

Then add a variable of type "Macro" and go to default tab of it and select that widget.

find_real_file.png

 

Please mark Correct/Helpful if it helps.

Honestly, this is one of the cleanest and easiest ways to get things done if it suits your needs.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!