mardi 29 mai 2018

Invoke Skype for Business from Web Chat control

A button like below will open up a contact in Skype for Business. We have a Web Chat bot hosted on Azure bot Service. I would like to utilize the buttons present in the Web Chat control to invoke Skype for Business contacts in a similar way. But I'm not able to specify the href properly and this usually brings up the domain at the end of contact in browser instead of the pop up for SfB. Is there any smart workaround for this?

I had thought of this alternate option of redirecting the user to a web page with a button which can bring up SfB, but that's not a very good user experience.

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Help Desk</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<a class="btn btn-primary" href="sip:helpdesk.im@microsoft.com" width="550">Contact Help Desk Team on Skype for Business</button>



Aucun commentaire:

Enregistrer un commentaire