Add link UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2024 04:13 PM
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,
Thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2024 04:44 PM
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.