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.

HTML Rendering in Additional Comments Field?

shadoworg
Giga Expert

Hi All,

 

I want to add anchor tag with href link which redirect to other page in additional comment field?

3 ACCEPTED SOLUTIONS

Maik Skoddow
Tera Patron
Tera Patron

Hi

yes this possible. You have to wrap your HTML the following way

 

[code]<a href="http://www.google.de">Google</a>[/code]

 

 

And also make sure, that a certain system property is set. See https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/field-administr...

 

Maik

View solution in original post

Community Alums
Not applicable

Hello @shadoworg ,

You use [code][/code] tags for this purpose. Ex:

[code]<a href="https://www.servicenow.com">ServiceNow.com</a>[/code]

You need to ensure first that system property is active to allow html entries:

glide.ui.journal.use_html

And Please refer to this: https://www.servicenow.com/community/in-other-news/formatting-within-journal-fields-using-html-code/...

 

@shadoworg , Please mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.

 

Thank You!

View solution in original post

Samaksh Wani
Giga Sage

Hello @shadoworg 

 

You need to add a Code block tag for rendering your html script into the work notes field.

 

 

[code]<a href="link_to_redirect">Text to Display</a>[/code]

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

 

View solution in original post

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi

yes this possible. You have to wrap your HTML the following way

 

[code]<a href="http://www.google.de">Google</a>[/code]

 

 

And also make sure, that a certain system property is set. See https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/field-administr...

 

Maik

Community Alums
Not applicable

Hello @shadoworg ,

You use [code][/code] tags for this purpose. Ex:

[code]<a href="https://www.servicenow.com">ServiceNow.com</a>[/code]

You need to ensure first that system property is active to allow html entries:

glide.ui.journal.use_html

And Please refer to this: https://www.servicenow.com/community/in-other-news/formatting-within-journal-fields-using-html-code/...

 

@shadoworg , Please mark my answer as "Accept as Solution" and "Helpfuls." If it works for you.

 

Thank You!

Samaksh Wani
Giga Sage

Hello @shadoworg 

 

You need to add a Code block tag for rendering your html script into the work notes field.

 

 

[code]<a href="link_to_redirect">Text to Display</a>[/code]

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

 

Community Alums
Not applicable

[code]<a href="https://www.fb.com">Facebook</a>[/code]