"Click to call" phone numbers work in some places but not others?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2017 01:44 PM
Hi All,
I noticed that some phone numbers are "clickable" and some are not.
I have it working on a record producer and it works using Edge but not IE...
Edge: Shows up as a hyperlink
IE - Does not
Does anyone know how to make the phone be clickable so you can click and launch Skype?
Thanks,
Carl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2018 11:16 AM
Hi Jonathan,
Please note that to protect against security concerns, Servicenow removes some of the tags from HTML. And href="tel is one of those tags.
You may add your tag to the HTML Sanitizer whitelist in servicenow and it will not automatically remove/filter the tag from html.
Below link has more information:
https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/security/concept/c_HTMLSanitizer.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2018 02:59 PM
Thanks for the info. I was able to follow the documentation and implement a correction that allowed the tel links.
For anyone else, I edited the global.HTMLSanitizerConfig script include to the following
var HTMLSanitizerConfig = Class.create();
HTMLSanitizerConfig.prototype = {
initialize: function() {
},
HTML_WHITELIST : {
globalAttributes: {
attribute:[],
attributeValuePattern:{}
},
urlAttributes: {
protocols : [ "tel" ]
}
},
HTML_BLACKLIST : {
globalAttributes: {},
},
getWhiteList : function() {
return this.HTML_WHITELIST;
},
getBlackList : function() {
return this.HTML_BLACKLIST;
},
type: 'HTMLSanitizerConfig'
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2018 09:02 AM
Note: In order to protect against security concerns, Servicenow removes some of the tags from HTML. And href="tel is one of those tags.
You may add your tag to the HTML Sanitizer whitelist in servicenow and it will not automatically remove/filter the tag from html.
Below link has more information:
https://docs.servicenow.com/bundle/jakarta-platform-administration/page/administer/security/concept/c_HTMLSanitizer.html