Migrating Vinteo Desktop settings via group policies

Migrating client settings from the ClientSettings file on application launch

bg-dots
bg-dots

General description

Starting with version 3.15, each time the desktop client is launched the settings are loaded from the ClientSettings file for subsequent migration into the client. The ClientSettings file must be placed in the profile directory:

  • Windows — %APPDATA%\VinteoDesktop;
  • macOS — $HOME/Library/Application Support/VinteoDesktop;
  • Linux — $HOME/.config/VinteoDesktop.

Settings in the ClientSettings file are stored in JSON format and are validated by a JSON schema when the file is read.

The full list of settings available for migration is provided in Client settings (settings).

The ClientSettings file has the following groups of settings:

  • profile — corporate profile settings;
  • settings — application settings;
  • emailInvitationTemplate — email invitation template.

Migrated settings parameters

Each setting in a group is an object with two properties:

Property Description
value The setting value that will be migrated to the application. Type is string, number, or boolean depending on the setting
overwriteUserSettings Optional forced migration flag. When true, the value from the file overwrites the user’s setting in the client. When false or omitted, the setting is overwritten only if the user has not changed it since the first client launch

Client settings (settings)

The settings group contains the following settings:

Setting Value type Description
displayName string User display name
remoteMicControl boolean Allow the moderator to turn the microphone on and off
remoteCameraControl boolean Allow the moderator to turn the camera on and off
moveContentVideoToFullscreen boolean Open an incoming presentation in full-screen mode
autoOpenChat boolean Automatically open chat when starting a call or broadcast
autoOpenParticipants boolean Automatically open the participant list when starting a call or broadcast
autoAnswer boolean Auto-answer for an incoming call
autoMute boolean Mute the microphone on auto-answer
autoFullscreen boolean Full-screen mode on auto-answer
hardwareNotification boolean Hardware alert
autorun boolean Auto-start
minimizeOnClose boolean Minimize the application on close
disableConfirms boolean Disable all confirmation dialogs
disableNotifications boolean Turn off all notifications
disableErrors boolean Turn off all error notifications
Attention!
When both autoOpenChat and autoOpenParticipants are enabled, autoOpenParticipants takes precedence: autoOpenParticipants is enabled and autoOpenChat remains disabled. The order and simultaneity of the flags do not matter.

Corporate profile

The corporate profile is created and updated by migration scripts. It differs from other profiles by a unique UUID: uuid-corporate-profile-0fa76dd5-9c48-48de-be1b-75b8df1b2208. The profile is created if it is not yet in the connection profile list, or updated during migration.

Corporate profile settings (profile)

The profile group contains the following settings available for corporate profile migration:

Setting Value type Description
name string User login. Optional
serverUrl string Connection server address. May contain a URL or IP
profileName string Corporate profile name — shown as the connection profile title. Optional
Attention!
The user password cannot be passed through the profile settings group.
Each time the corporate profile is rewritten, the password of the previous profile is removed from the client.

In ClientSettings, set the server address in values.profile.serverUrl and the user’s display name in values.settings.displayName. If connection details are missing, the client opens the connection setup dialog at startup. You can skip this step.

Example of setting the display name in ClientSettings

{
  "version": 1,
  "values": {
    "settings": {
      "displayName": {
        "value": "New signature",
        "overwriteUserSettings": true
      }
    }
  }
}

Email invitation templates (emailInvitationTemplate)

This option configures the conference invitation template sent by email.

Template parameters

Name Value type Description
value TEmailInvitationTemplate Email invitation template
overwriteUserSettings boolean Template usage flag. If true, the given template is used for email invitations; otherwise the standard application template is used. Default is false

Email invitation template (TEmailInvitationTemplate)

Name Value type Description
subject string Invitation title
body TBodyEmailInvitationTemplate Message body

Message body (TBodyEmailInvitationTemplate)

Name Value type Description
value string Message text template
optional TOptionalBodyEmailInvitationTemplate Optional parameters

Optional parameters (TOptionalBodyEmailInvitationTemplate)

Name Value type Description
pinText { textWhenFilled: string; textWhenEmpty: string } Template for displaying the conference PIN. textWhenFilled is used when the conference has a PIN; otherwise textWhenEmpty is used

Fillable template fields

Setting Value type Description
{userName} string Name of the user who sent the invitation
{conferenceUrl} string https link to join the conference
{dialedNumber} string conference-number@domain
{pin} string PIN code
{pinText} string Template for displaying the conference PIN

Example ClientSettings file:

{
  "version": 1,
  "values": {
    "emailInvitationTemplate": {
      "value": {
        "subject": "mailto:?subject=Invitation to the conference",
        "body": {
            "value": "&body={userName} invites you to take part in a video conference.%0A- link: {conferenceUrl};%0A- conference number: {dialedNumber}{pinText}",
            "optional": {
                "pinText": {
                    "textWhenFilled": ";%0A- PIN code: {pin}.",
                    "textWhenEmpty": "."
                }
            }
        }
      },
      "overwriteUserSettings": false
    }
  }
}
Diagnostics collection v4.20.x