How to add the hyperlink in the portal

PRAGHATIESH S
Tera Expert

Hi,

I written one script include and call that into client script to show the field msg. In that message box itself I have to add the hyperlink of url. That url is stored in the one field called "contactlink". 

 

How to add the hyperlink in the client to show on the portal.

6 REPLIES 6

@PRAGHATIESH S 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Rafael Batistot
Kilo Patron

Hi @PRAGHATIESH S 

 

May you use 

 

var link = '<a href="incident_list.do">List Link</a>';
var message = gs.getMessage('Incident Resolved') + ' ' + link + ' ';
gs.addInfoMessage(message);

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0691931

If this response was helpful, please mark it as Helpful and, if applicable, as Correct, this helps other users find accurate and useful information more easily.