How to add phone number hyperlinks to SharePoint when not supported [Work around]
While setting up a new SharePoint site we came across an issue with one of the themes where the web parts don’t allow the tel:// protocol input. When adding a button the web part would only allow https:// and mailto:// protocols for some reason. The tel:// protocol was not allowed.

So a work around without creating a custom web part:
- Create a new page on a public hosted site called. /dial.php
- Paste the following code:
-
<?phpif(isset($_GET[‘tel’])){echo’Dailing…’;header(“Location: tel://”.$_GET[‘tel’]);exit();}?>
- Save and upload
Now if you were to go to this url www.yourwebsite.co.uk/dial.php?tel=07865142628
This would trigger the tel: protocol to dial the users phone from within SharePoint.
Have a question? Speak to me, Sylvester
Get in touch and we can discuss how we can help support your business.
Book a call
Click to dial me

