Add link UI action

Andrew_TND
Mega Sage
Mega Sage

Hello,

Can anyone tell me how I would go about creating a UI Action on the incident form called "Add link"

This will open a pop up which has the following fields,

"comment" (free text)
"URL" (string)
"URL Title" (String)
"Note type" (choice: Comment or worknote)

This is where it gets complicated, when completed this should be applied to either the comment or the worknote and the URL and title should be put in the below format,

[code]<a href="<URL>">URL Title</a>[code]

So it creates something that looks like this,

Andrew_TND_0-1711494779859.png


Thanks in advance! 

1 REPLY 1

SanjivMeher
Kilo Patron
Kilo Patron

I think below article should help you get started
https://www.servicenow.com/community/developer-articles/custom-ui-page-in-a-popup/ta-p/2319550

 

Saving it to worknotes as URL should be easy once you have the popup created.


Please mark this response as correct or helpful if it assisted you with your question.