Need help on setting hyperlink on Description field

shaik_irfan
Tera Guru

Hi,

From the workflow when we create a Catalog Task on the description field we need to set a description along with KB article hyperlink. Can anyone please help me how to do this ?

1 ACCEPTED SOLUTION

Tim Deniston
Mega Sage
Mega Sage
Description is a plain text field, so you cannot show a hyperlink in it. You could add an HTML description field (HR Case includes one OOB called rich_description) and replace the regular Description field on your form.

View solution in original post

8 REPLIES 8

@Ankur Bawiskar is it possible to add link having filtered query in HTML format description field through script in flow designer.

 

Any Assistance would be helpful.!!!

Can we add the field message to the description fie

prasanna_da_0-1712840357374.png

 

ld which has the hyper link in it 

There does not appear to be a way to add links (or any HTML formatting) in field messages, though you can with info messages. 

 

Does not work:

g_form.showFieldMsg('order','Hello <a href="https://www.google.com" target="_blank">Google</a>.','info');
g_form.showFieldMsg('order','Hello [code]<a href="https://www.google.com" target="_blank">Google</a>[/code].','info');

Works:

g_form.addInfoMessage('Hello <a href="https://www.google.com" target="_blank">Google</a>.');

Sajilal
Mega Sage

For your requirement why not use a URL type of field instead of populating in String field.

https://community.servicenow.com/community?id=community_question&sys

Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.

Thanks,
Saji

_id=fe030fa1dbd8dbc01dcaf3231f961992