Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add Hyperlinks in CWM tasks

GCass
Tera Contributor

Is it possible to add hyperlinks in the description, comments or any field?  I know it is possible to add a URL column - however this seems a messy approach - especially if more than one is required.
Types of links may include: Sharepoint site, Multiple SN records (KB, INC, REQ, CHG) a separate column for each type seems too much as it may differ for different tasks, or even a simple website with useful information related to the task.
I know it's possible to add links in documents - however this is not directly linked to specific tasks and seems a cumbersome approach. 

4 REPLIES 4

G Ponsekar
Tera Guru

Hi @GCass ,

 

Hyperlinks can be added in comments using below syntax

 

current.comments = [code]<a href="https://google.com" target="_blank">Google</a>[/code];

 

you can write that logic to check if comments contains https:// or www etc

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

Thanks, GP

 

 Thanks,

GP

GCass
Tera Contributor

Thanks GP,
I'm looking for a solution to allow all users to add links easily.  It needs to be easy and not require thinking about code (<a href=...) This is what we had to do 20 years ago to create a link.
Unfortunately, things like this are why we have so many continuing to leverage products other than ServiceNow.

Sunil B N
ServiceNow Employee
ServiceNow Employee

Hi Glenn,


Currently as you mentioned URL column is meant for one URL. 
We understand that there is a dire need for multiple links to be associated with a specific task.
We will definitely consider this feedback for the future roadmap. Also to add, we have plans to associate a doc to a task in future.

Thanks and regards,
Sunil B N

Ingimar
Tera Guru

@GCass , for the Comments field it is possible to enable the rich text editor where people can paste and create links, lists, bold/italic, etc. quite easily.

 

This is enabled via the glide.ui.journal.use_html system property.

 

Keep in mind that this is not a CWM specific setting and applies to workspaces in general.