• Documentation
  • User Guide
  • Totalview Admin
    • Getting started
      • Login
        • Setting login info in the shortcut
      • Loading the license
      • Setting up Totalview
      • Using the demo data
      • The serverconfig.xml file
    • Configure the Totalview server
      • General
      • The User view
      • The States view
      • The Templates view
      • The Custom Fields view
      • The Client Settings view
      • The Connectors view
        • Customer Information connectors
        • Telephony connectors
        • Calendar connectors
        • SMS Connector
        • Mobile Connectors
        • Web service connectors
        • System Extensions
      • Promoting appointments with fallback
      • Notes categories synchronization
      • The Devices view
      • The Forwarding View
      • The Server settings view
      • The Connections view
      • The Phone book view
    • Resource Access Rights
      • Making a group from a custom field
      • Resource Access groups
      • Affected modules
    • Controlling services manually
      • Querying a service
      • Starting a service
      • Stopping a service
      • Creating a service
      • Deleting a service
      • Creating a Totalview3CX Linux service
  • Totalview Authentication
    • How to enable
    • Settings
    • Change password on next login
    • Setup Reverse Proxy
  • Totalview HR
    • Recruitment Portal
  • Totalview Time
    • Server Configuration
    • HTTPS Time Server Configuration
    • Payment and Account Proxy Service
  • Totalview Reports
    • Authentication
  • Technical Guides
    • PBX Functionality Matrix
    • Attachments
    • SQL Backup Recommendations
    • Before Installing
    • Installation and Upgrade guide
    • Calendar Connectors
    • Exchange Security Settings
    • Google Calendar settings
    • Lotus Notes security settings
    • System Requirements
    • Totalview Command
    • Totalview Connect
    • Web service connectors
    • Publish users online (Totalview API)
    • CSTA version tests
    • Import options
      • Import users from NUF file
      • Import users from a CSV file
      • Scheduled user import from an XML file
      • Phonebook import
      • Creating CSV file from Microsoft Excel
      • AD import mappings
    • Key Login Setup
    • Display Scaling
      • Scaling and the Totalview PC Client
      • Scaling and the Switchboard Client
      • Scaling and the Totalview Time Client
      • Scaling and the Totalview Reports
    • HTTPS MobileWeb Connector Configuration
    • Data Dump
    • Delete User Script
  • Release notes
    • Totalview 2020 SP2 Release Notes
    • Totalview 2020 SP1 Release Notes
    • Totalview 2020 Release Notes
    • Totalview 2019 Release Notes
    • Totalview 2018 SP1 Release Notes
    • Totalview 2018 Release Notes
    • Totalview 2017 SP1 Release Notes
    • Totalview 2017 Release Notes
    • Change log
  • Totalview 2020 SP2
  • Totalview 2020
  • Totalview 2019
  • Totalview Admin
    • Getting started
      • Login
        • Setting login info in the shortcut
      • Loading the license
      • Setting up Totalview
      • Using the demo data
      • The serverconfig.xml file
    • Configure the Totalview server
      • General
      • The User view
      • The States view
      • The Templates view
      • The Custom Fields view
      • The Client Settings view
      • The Connectors view
        • Customer Information connectors
        • Telephony connectors
        • Calendar connectors
        • SMS Connector
        • Mobile Connectors
        • Web service connectors
        • System Extensions
      • Promoting appointments with fallback
      • Notes categories synchronization
      • The Devices view
      • The Forwarding View
      • The Server settings view
      • The Connections view
      • The Phone book view
    • Resource Access Rights
      • Making a group from a custom field
      • Resource Access groups
      • Affected modules
    • Controlling services manually
      • Querying a service
      • Starting a service
      • Stopping a service
      • Creating a service
      • Deleting a service
      • Creating a Totalview3CX Linux service
  • Totalview Authentication
    • How to enable
    • Settings
    • Change password on next login
    • Setup Reverse Proxy
  • Totalview HR
    • Recruitment Portal
  • Totalview Time
    • Server Configuration
    • HTTPS Time Server Configuration
    • Payment and Account Proxy Service
  • Totalview Reports
    • Authentication
  • Technical Guides
    • PBX Functionality Matrix
    • Attachments
    • SQL Backup Recommendations
    • Before Installing
    • Installation and Upgrade guide
    • Calendar Connectors
    • Exchange Security Settings
    • Google Calendar settings
    • Lotus Notes security settings
    • System Requirements
    • Totalview Command
    • Totalview Connect
    • Web service connectors
    • Publish users online (Totalview API)
    • CSTA version tests
    • Import options
      • Import users from NUF file
      • Import users from a CSV file
      • Scheduled user import from an XML file
      • Phonebook import
      • Creating CSV file from Microsoft Excel
      • AD import mappings
    • Key Login Setup
    • Display Scaling
      • Scaling and the Totalview PC Client
      • Scaling and the Switchboard Client
      • Scaling and the Totalview Time Client
      • Scaling and the Totalview Reports
    • HTTPS MobileWeb Connector Configuration
    • Data Dump
    • Delete User Script
  • Release notes
    • Totalview 2020 SP2 Release Notes
    • Totalview 2020 SP1 Release Notes
    • Totalview 2020 Release Notes
    • Totalview 2019 Release Notes
    • Totalview 2018 SP1 Release Notes
    • Totalview 2018 Release Notes
    • Totalview 2017 SP1 Release Notes
    • Totalview 2017 Release Notes
    • Change log
  • User Guide

Related Pages

  • Payment and Account Proxy ServiceDocumentation  Time
  • Work by TimeReports

Server Configuration

  • Home
  • »
  • Documentation
  • »
  • Totalview Time
  • »
  • Server Configuration
  • »

.config

NB! Whenever you change anything in the .config file, you must restart the server (i.e. restart the windows service)

connectionStrings

This is the connection string for the Totalview Database

<configuration> 
    ... 
    <connectionStrings>
        <add name="TimeServer" connectionString="Password=SomePassword;Persist Security Info=True;MultipleActiveResultSets=True;User ID=TotalviewUser;Initial Catalog=Totalview;Data Source=TotalviewSqlServer"/>
    </connectionStrings>
    ... 
</configuration>

appSettings

Different application settings

NoOfReconnects (default value 1): How often the server will try and reconnect to the database on startup.

UseAuthenticationPortal (default value false): If this is set to true, then the AuthenticationPortalURL must be specified.

AuthenticationPortalURL (default empty): Url for the Authentication Portal to use. E.g. totalview.example.com/Authentication

SigningCredentialsPrivateKey (default empty): This is the private key for signing the Time Client Session Token (JWT). This key should be a random 256 length key. You can use any string here, but it is simplest to generate it with a tool like https://passwordsgenerator.net/

WCFPaymentApiKey (default empty): This is the Api Key that the client must have in the header for every request to the Payment Service. If this is empty or none existing then no validation is done, and every call can be made. This key should be a random 32 length key. You can use any string here, but it is simplest to generate it with a tool like https://passwordsgenerator.net/

WCFAccountApiKey (default empty): This is the Api Key that the client must have in the header for every request to the Account Service. If this is empty or none existing then no validation is done, and every call can be made.. This key should be a random 32 length key. You can use any string here, but it is simplest to generate it with a tool like https://passwordsgenerator.net/

<configuration>
...
    <appSettings>
        <add key="NoOfReconnects" value="1" />
        <add key="UseAuthenticationPortal" value="true"/>
        <add key="AuthenticationPortalURL" value="totalview.example.com/Authentication"/>
        <add key="SigningCredentialsPrivateKey" value="7TO4LJQQKM4O3SGGX0K0SV0GPDF9GCNZ3MXOMTNKMGZYRSCVVHJMZ2L1KE2160XXT342CGBV77DM4LRFAEW44GSONI0JZHUTUSLWE8W4PEJDY6JT8I88PWR6FK7R5KMKTF2DDVFX3JHJQLX1QNWU8O3CRPKGP6ZWZVKRJXXPRDAXTVO3OZOS01FKQ8KN8Q6T2FEM15L5UUX47BX6W0SI0VTTQPM7371W484NRK742R1SKLKR1UKMRTKWVD6QL10A"/>
        <add key="WCFPaymentApiKey" value="RU9hHdu4B79wgOZypdIA1xOkFNhIWzPC"/>
        <add key="WCFAccountApiKey" value="0MqrszFQCN8OS578T8vD5OygAYZoYWSO"/>
    </appSettings>
...
</configuration>

system.serviceModel

Used for configuring the endpoints for the Totalview Time Client.

Also you configure endpoints used by external services here like Payment and Accounts

To configure then endpoint, you can change the baseAddress. There is a host/baseAddresses section for each service.

To configure for TLS please follow the guide onĀ HTTPS Time Server Configuration

 

 

Last edited on April 14th, 2020

Related Pages

  • Payment and Account Proxy ServiceDocumentation  Time
  • Work by TimeReports
© Totalview 2020 SP2 - All rights reserved.