Adding a link to the form

thereseg
Kilo Contributor

Hi,

I feel like an idiot right now as I've been trying for the past few hours to figure this out but I blame my cold.

We want to add a permanent hyperlink to our change form that opens in a new window. (To be used as a guide and reference for people submitting changes.)

I know there are some help functionality on specific fields but none do exactly what I want and none of the fields we have works well with this guide so we want to create a new field.

Best case scenario: Clickable Hyperlink with a underlined title/label (hyperlink hidden)

Second best: field with a label and clickable hyperlink visible in a value field.

This is not a field to be updated, it's a default value for all tickets. it's just a here as a guide and a reference.

I've tried some different fields URL, HTML etc but they seem to focus on people editing them and once I make them read-only with default URLs they are blank.

Maybe there an attribute that can be used on any of the fields.

There should be an easy way to do this I just can't find it right now and thought I'd ask the experts.

Thanks in advance

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi,



This can be done using Annotations on the form. please follow the below steps:



1) For example I have added a Text "Caller Details" on the Incident Form. On click of which it gets redirected to the desired URL.


2) In order to do so Right click on the form header and select Configure-->Form Layout as shown below:



find_real_file.png



3) Select Annotation from Left Slush Bucket and Add it to the Desired position where you want to display the Link as shown below:



find_real_file.png



4) Select the Annotation Type as HTML and use the href tag as shown above to display a Link.



Result:



find_real_file.png



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

7 REPLIES 7

Bob57
Giga Contributor

Thank you for this response.

Quick question: How do you make the hyperlink for the Form Annotation text open in a new window when clicked from a Workspace View? Apparently, the window opens in a new window when clicked from Default View, however, opens on the same browser window when clicked from Workspace View. Please assist and thank you.

Anurag Tripathi
Mega Patron
Mega Patron

Hey,



Check out Benjamin's reply on this post, i think its exactly what you need.



Trying to add display text to a URL field type


-Anurag

Community Alums
Not applicable

ServiceNow Madrid now provides a URL field type to easier add links to the form. 

 

find_real_file.png