How to configure parameters and initial settings of the Corti app and login options
Please find below an example of a configuration file that can be used by your system administrator to configure the parameters and initial settings of the Corti application for all the designed workstations:
- It can be used to configure the most common API, Window viewer and Login options.
- It can also be used to configure more integration-specific options, depending on the need of your organization.
The file shown below is an example one, but it should be detailed enough for your system administrator to be able to customize it according to your organization's needs.
That being said, feel free to reach out to us for any questions or doubts.
####################### User-settings Configuration Example ######################
# This file is an example configuration file highlighting only the most common
# options. More options can be added depending on customer-specific integration
# configuration. Thus, please use this as a reference.
#
#
#============================ Api Options =============================
import { env } from 'core/environment';
export const userConfigSchema = {
properties: {
apiHost: {
type: 'string',
format: 'uri-reference',
default: 'beta',
},
'callSubscriber:configFileLocation': {
type: 'string',
format: 'windows-absolute-path',
},
#========================== Window Options ============================
'windowOptions:alwaysOnTop': {
type: 'boolean',
default: false,
},
'windowOptions:resizable': {
type: 'boolean',
default: true,
},
'windowOptions:movable': {
type: 'boolean',
default: true,
},
'windowOptions:rememberLastState': {
type: 'boolean',
default: true,
},
'windowOptions:defaultX': {
type: 'integer',
},
'windowOptions:defaultY': {
type: 'integer',
},
'windowOptions:defaultWidth': {
type: 'integer',
},
'childWindowOptions:defaultX': {
type: 'integer',
},
'childWindowOptions:defaultY': {
type: 'integer',
},
'childWindowOptions:defaultWidth': {
type: 'integer',
},
'childWindowOptions:defaultHeight': {
type: 'integer',
},
#========================== Login Options ============================
'login:enableRememberMe': {
type: 'boolean',
default: true,
},
'login:preferredAuthProvider': {
enum: ['native', 'ad'],
default: 'native',
},
},
additionalProperties: false,
};
Alternatively, please find here the downloadable file:
User settings config file.json
Login options
Regarding login options, there is the possibility to set up Corti so that by default the 'Keep me logged in' option is always checked.
This will allow Corti to remember the last user logged in and keep them logged in even if they exit the application.
- If they log out, then they are properly logged out.
- Similarly, if a user logs out of their Operative system/CAD system's user profile at the end-of-shift, the Corti client automatically logs out the user too.
If you do not want the Corti application to remember the last user logged in, in the config file it is possible to disable (set to false) the remember-me option.
enableRememberMe: false
If this feature is false, if a user exits the application, the user will be logged off.