BOOK A CALL BACK
Have a question? Fill in the form below to book a call
About:
Menu
REMOTE SUPPORT
 NETWORK STATUS
Award winning IT support in Paddington London - Delivering high performance cloud solutions 24x7, keeping your business connected
020 7471 3277
Book a call
ALL BLOGS
How to add phone number hyperlinks to SharePoint when not supported [Work around]
June 17th, 2022
Categories: SharePoint

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:
  • <?php
    if(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 Mike.
Get in touch and we can discuss how we can help support your business.
Book a call
Click to dial me
Need IT Support? Speak to me Mike.
Book a call
Click to dial me
Download FREE Guide Decoding
modern day phishing attacks
Download Guide