Is there any way to insert two urls in URL type field and each should be clickable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 11:12 PM
We have URL type field and we want to store multiple urls in it. How we can do this or is there any alternative for this to do.
Note - each link should be clickable.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 11:16 PM
Hi,
not possible
Better to use another custom field which would hold multiple URLs comma separated
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 11:19 PM
Hi Ankur,
Can you tell me which field type we can use for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 11:22 PM
Hi,
since you want link to be clickable please use Journal field to hold these values.
Journal fields allow data to be shown in HTML format and the links
sample below
var url1 = '[code]<a href="https://www.servicenow.com">ServiceNow.com</a>[/code]';
var url2 = '[code]<a href="https://www.google.com">Google</a>[/code]';
current.journal_field = url1 + '\n' + url2;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2020 11:52 PM
Where I need to put this code,
And there is no any fix url number