Application of the week > Application of the Week – Whereby

I just got of a call with a customer who asked for guidance on deploying and managing both Slack and Whereby using Liquit Workspace.

In this blog I will explain how to create a Smart Icon for Whereby. This Smart Icon contains one action, part of one Launch action set.

Whereby is a solution to have video meetings using a browser only. It has been designed with ease of access in mind.

It doesn’t require any logins or downloads to join a conversation. This is because Whereby uses WebRTC. WebRTC is an open framework that enables Real-Time Communications (RTC) capabilities in the browser. WebRTC is built-in to most modern browsers, but not all browsers have support for it.

Full browser support is available for Chrome, Firefox and Chrome-based browsers like Opera and Vivaldi only. The new Microsoft Edge browser, based on chromium, isn’t listed. But I would not be surprised to see this being added to the list too. Safari and Microsoft Edge are currently in the experimental stage of development, and have limited support. With ‘Microsoft Edge’ I presume they mean Microsoft Edge Legacy then.

So, for this application we’re able to set the default browser just by selecting either one of the supported ones here:

Here’s the PowerShell script to create the Smart Icon for Whereby:

Import-Module "C:\Program Files (x86)\Liquit Workspace\PowerShell\3.0\Liquit.Server.PowerShell.dll" -Prefix "Liquit"

$liquitZoneUsername = "local\admin"
$liquitZonePassword = Read-Host "Enter Password" -AsSecureString
$liquitCredentials = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $liquitZoneUsername, $liquitZonePassword
$liquitZone = "https://yourliquitzone.liquit.com"

$wherebyIconURL = "https://www.setupcommander.com/ico/whereby.ico"
$wherebyIconPath = "c:\temp\whereby.ico"

$packageName = "Whereby"
$packageDisplayName = "Whereby"
$packageDescription = "Whereby"

$liquitContext = Connect-LiquitWorkspace -URI $liquitZone -Credential $liquitCredentials

$webClient = New-Object System.Net.WebClient
$webClient.DownloadFile($wherebyIconURL,$wherebyIconPath)
$iconContent = New-LiquitContent -Path $wherebyIconPath

$package = New-LiquitPackage -Name $packageName `
                             -Type "Launch" `
                             -DisplayName $packageDisplayName `
                             -Description $packageDescription `
                             -Priority 100 `
                             -Enabled $true `
                             -Offline $False `
                             -Web $true `
                             -Icon $iconContent 

#create the snapshot for this package
$snapshot = New-LiquitPackageSnapshot -Package $package

#define launch action set
$actionset = New-LiquitActionSet -snapshot $snapshot `
                                 -Type Launch `
                                 -name 'Launch' `
                                 -Enabled $true `
                                 -Frequency Always `
                                 -Process StopAtFirstEffectiveAction
                                                                      
#
#define the first launch action
#
$actionset_action1 = New-LiquitAction -ActionSet $actionset `
                                      -Name 'Open Whereby Website' `
                                      -Type 'openurl' `
                                      -Enabled $true `
                                      -IgnoreErrors $false `
                                      -Settings @{ url = 'https://whereby.com'; browser = 3;} `
                                      -Context User


#publish the package
Publish-LiquitPackageSnapshot -Snapshot $snapshot -stage Production 

#set the entitlement
$identity = Get-LiquitIdentity -id "LOCAL\everyone"
New-LiquitPackageEntitlement -Package $package -Identity $identity -Publish Workspace
About the author