Links inserted in HTML fields are not clickable

parvinderpasrij
Tera Contributor

Links inserted in HTML fields are not clickable 

3 REPLIES 3

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

please check the following article and try the suggested workaround:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0565110

If I have answered your question, please mark my response as correct and/or helpful.

Thank you

Cheers
Alberto

Munender Singh
Mega Sage

Hi,

Kindly share the code .

 

Regards,

Munender

Chad Crawford
Giga Contributor

I think I came up with a good solution to this one.

One important piece of information to know about ServiceNow's HTML fields is that when they're in a read-only state, links behave more like you're used to seeing in the broader web (meaning, you left click the link your browser takes you there).

  1. Create an additional field of Type = Yes/No. Maybe name it "Edit Mode". Place it somewhere close to the HTML field where your storing links.
  2. Create a UI Policy that sets your HTML field to read only unless "Edit Mode" is checked.
  3. Also, set a business rule to uncheck "Edit Mode" on Save so that your HTML field is really only in edit mode when someone's looking at the field and wants to edit its content.

HTML field in Read Only mode

find_real_file.png

Edit Mode

find_real_file.png

UI Policy

find_real_file.png

Business Rulefind_real_file.png