This guide will show you the technical requirements for the Skype Web Chat Widget.
Pre-assumed variables that will be used during configuration:
Website Domain: www.vytru.com
Website Script: <script src="http://skypechat.vytru.com/vytruchat/Vytruchat2.js" class=" xxxxxxxxxx xxxxxxxxxx x">
Website Domain: www.vytru.com
Website Script: <script src="http://skypechat.vytru.com/vytruchat/Vytruchat2.js" class=" xxxxxxxxxx xxxxxxxxxx x">
- The javascript shown below should be added to your own website:
- The commands shown below to add your own website domain to your existing collection of Web service configuration settings.
To carry out this task, the first command in the example uses the New-CsWebOrigincmdlet to create a domain object for the domain. The resulting domain object is stored in a variable named $x.
The second command in the example uses the Set-CsWebServiceConfiguration cmdlet to add the domain to the Web service configuration settings applied to Global.
1. Open Skype for Business/Lync Server Management Shell.
2. Run the below commands:
$x = New-CsWebOrigin -Url "http://www.vytru.com"
Set-CsWebServiceConfiguration -Identity "global" -CrossDomainAuthorizationList @{add=$x}
To check the above configuration:
Get-CsWebServiceConfiguration | select -ExpandProperty CrossDomainAuthorizationList