Configuring the Web Client using environment values

Global configuration

General

All environment values targeting global configuration settings have a name beginning with PISASALES_WEBCLI_. The ID of the global setting is appended in lower case to the name.

Example:

export PISASALES_WEBCLI_wsv_frc_tls=true

Set a value to $NONE (literally) to force an empty configuration setting.

Available global configuration settings

The following table lists all supported global configuration settings.

IDTypeDefaultNameDescription
app_cfg_pthtext(empty)Application Configuration pathSpecifies a specific path for application configuration data to be used instead of the default path
bas_wnd_hgttext635Base window design heightThe height of the window (display, monitor) that is used in dialog design. Must be at least 600.
bas_wnd_wdttext900Base window design widthThe width of the window (display, monitor) that is used in dialog design. Must be at least 800.
bsc_tmo_offnumber0Wait animation - "off" timeout timeMinimal duration in milliseconds of a "wait" animation. Set to 0 for default value
bsc_tmo_shonumber0Wait animation - "show" timeout timeDelay time in milliseconds before a "wait" animation is shown; Set to 0 for default value.
chk_log_outboolfalseCheck for proper session terminationIf set, the system checks whether the users log out properly. A warning is then shown if a previous session was not correctly logged out.
cli_aut_dwnbooltrueAutomatic DownloadThe Automatic Download property determines whether downloads are started automatically, i.e. whether a file is immediately transferred to the client after a user request. It is recommended to leave automatic downloads enabled. If you are experiencing issues with browsers blocking the download process, then set this property to false.
cus_css_urltext(empty)URL of custom CSS definitionIf set, this URL is passed to the user's web browser to provide additional CSS definitions. The default is empty.
cus_pvc_urltext(empty)Custom privacy URLA URL that links to the privacy policy of your company. It must begin with either "https://" or "http://". Defaults to JustRelate Deutschland GmbH's privacy policy.
dbg_adv_jslogboolfalseDebug: Activate advanced logging of JavaScript errorsIf active, more context information is stored for better analysis of possible JavaScript errors. It increases memory consumption of the web browser.
dbg_cmd_avlboolfalseDebug: Enable special debugging and test commandsIndicates whether debugging commands are available. The default is "false".
dbg_mon_avlboolfalseDebug: Enable JustRelate CRM Web Client MonitorThis setting controls whether the JustRelate CRM Web Client Monitor is available. The default is "false".
dbg_mon_pwdpassword(empty)Debug: Password required to access JustRelate CRM Web Client MonitorAccess to JustRelate CRM Web Client Monitor can be protected by a password. The default is not set, so anyone can access JustRelate CRM Web Client Monitor.
dbg_wvw_avlboolfalseDebug: Enable special "watch" viewIndicates whether the special "watch" view is available. The default is "false".
dim_aut_lgiboolfalseEnable JustRelate CRM Desktop integration based auto-loginAuto-login based on JustRelate CRM Desktop integration relies on the end user's user name and logon domain. A more secure procedure such as OpenID Connect is strongly recommend to be used instead.
dim_frc_tlsboolfalseForce TLS for JustRelate CRM Desktop IntegrationForces the use of TLS for JustRelate CRM Desktop Integration web socket connections.
dim_old_conboolfalseJustRelate CRM Desktop Integration: Use legacy URI scheme to establish the connectionIf set, the legacy URI scheme is used to establish the connection to JustRelate CRM Desktop integration.
dim_ssn_tmonumber120JustRelate CRM Desktop Integration Session TimeoutTimeout in seconds after an inactive connection to the JustRelate CRM Desktop Integration will be closed.
dim_use_lnkboolfalseJustRelate CRM Desktop Integration Initialization MethodSpecifies the method how the JustRelate CRM Desktop integration is initialized; Set to true to use a special hyperlink if the the default method using an iframe-element does not work in your environment.
dim_wsc_urltext/psawscJustRelate CRM Desktop Integration service URL (End user's browser's point of view)The URL of the JustRelate CRM Desktop Integration service. The default is "/psawsc", meaning that the service is hosted by the same web server and has the servlet name "psawsc". The full syntax is "[hostame[:port]]/servlet"
dis_brw_plgboolfalseDisable JustRelate CRM Desktop IntegrationDisables the JustRelate CRM Desktop Integration. Functions that require the JustRelate CRM Desktop Integration will not work. The default value is false.
dis_dim_dnlboolfalseDisable download of JustRelate CRM Desktop IntegrationIf set to true, users may not download the JustRelate CRM Desktop Integration installer module.
dis_dyn_ttpboolfalseQuickViews: Disable QuickViewsIf activated, then all QuickViews are disabled and will not appear.
dis_nfo_wdgboolfalseDisable info widgets on login screenIf activated, no info widgets (version information etc.) will be shown on the login screen.
dis_usr_cfgboolfalseDiscard user configurationIf activated, any user-specific configuration data is discarded so that each session starts with blank configuration data.
dsk_nfy_offboolfalseDisable Desktop NotificationsDisables any desktop notifications in the context of the JustRelate CRM Web Client. Consider disabling desktop notifications in portal mode.
dsp_min_hgttext768Minimal required display heightSpecifies the minimal required display height in pixels. If the browser's page area height is smaller than this value, a scrollbar appears. The value 0 turns the scrollbar off. Any negative value causes the built-in default to be used.
dsp_min_wdttext1280Minimal required display widthSpecifies the minimal required display width in pixels. If the browser's page area width is smaller than this value, a scrollbar appears. The value 0 turns the scrollbar off. Any negative value causes the built-in default to be used.
edt_cke5_bscbooltrueUse basic CK Editor 5A setting that allows using the CK Editor 5 with reduced toolbar or balloons. This way the editor loads faster and consumes less memory. A full featured editor is still available. Defaults to true.
ena_ssn_cookiesbooltrueEnable Session CookiesSession cookies are used to identify running sessions while handling object links. If session cookies are disabled, each object link will require an explicit login.
ena_wake_locksbooltrueEnable Wake locksWake locks are used to prevent the user's computer from entering suspend or sleep mode. This avoids session timeouts. If not enabled, wake locks are globally turned off. If enabled, users can turn wake locks on or off.
frc_dlg_mod_barboolfalseForce Dialog Modification BarThis variable is valid only in portal mode. It forces the display of the dialog modification bar (Save/Cancel Buttons). The default value is false.
glb_dbg_modboolfalseWeb Client DEBUG modeAllows the internal DEBUG mode to be turned on or off. The default value is "off".
glb_dsp_namtext(empty)JustRelate CRM Web Client's display nameAn informational text that may identify this JustRelate CRM Web Client instance better.
glb_ins_idstext(empty)JustRelate CRM Web Client's instance IDAn ID string that may identify this JustRelate CRM Web Client instance better.
glb_rdr_frcboolfalseGlobal redirect forcedIf this value is set to true, and a global redirect URL is specified, then this instance rejects logging in and redirects access to the specified redirect URL
glb_rdr_urltext(empty)Global redirect URLSpecifies the global redirect URL
hid_ext_lgi_nfoboolfalseHide extended info on loginHides the link to the company home page, privacy settings and the info screen.
imc_tim_tmonumber60Unread message count update timeoutInterval (in seconds) for the background task that updates the count of unread messages displayed in the top bar. A value of 0 disables the timer.
ini_dis_lgiboolfalseLogin initially disabledIf set to true, the login is initially disabled after web server startup and must be enabled explicitly by an administrator.
lgi_bkg_clrtext(empty)Background color of login screenMay be set to an HTML color value such as "#00796B". If set, this color is used instead of a background picture. Empty by default, causing the background picture to be shown.
lgi_lng_listext(empty)Language listSpecifies the available languages on the login page. The syntax is "IDN(Title:code)[, IDN(Title:code)]". Example: "GER(Deutsch:de), ENG(English:us)".
lgi_lng_selbooltrueLanguage selection on login page availableSpecifies whether or not the user can select a specific language to be used in this session.
This will not override the user's language settings in the repository. The default is true.
lgi_nfo_txttext(empty)Additional login info textIf set, this text is shown on the login page as special message / information to the users. You can set a hyperlink with the following syntax: {link:URL/title}.
lng_loc_ovrtext(empty)Default language and locale overridesOverrides the default locale for several languages. Enter a semicolon separated list of language codes according to BCP 47 / RFC 5646; example: "en-NZ; de-CH; es-AR"
mac_use_tchboolfalseAlways redirect to mobile app on Macintosh platformIf set to true, any object link request from a Macintosh client computer will be redirected to the mobile app. This is due to a change in Safari on iPad stating to be a desktop system.
nav_hst_siznumber5Navigation History SizeThe navigation history size property is used only in portal mode. It determines the span of dialogs that can be navigated via the "Back" and "Forward" buttons. Dialogs outside that span are dropped and are not navigable. The number of navigable dialogs should be kept small because these dialogs are present also in the Browser DOM. You must allow for at least 1 navigable dialog. The expected value is an integer greater than or equal to 1.
nfy_wnd_postextBRNotification window positionSpecifies the position where notification windows appear. Possible values are "TL" (top/left), "TH" (top/center), "TR" (top/right), "VL" (center/left), "VH" (center/center), "VR" (center/right), "BL" (bottom/left), "BH" (bottom/center), "BR" (bottom/right). The default is "BR" (bottom/right).
nfy_wnd_tmonumber14Notification window visibility timeTime in seconds that a notification window remains visible if the user does not close it.
otn_tim_tmonumber0Open transactions timer timeoutInterval (in seconds) for the background task that checks whether any transactions are open. The default of 0 disables the timer.
plg_log_lvltextWARNLogging level of JustRelate CRM Desktop IntegrationSets the logging level of the JustRelate CRM Desktop Integration. The expected value is one of {TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF}.
psc_blk_rdrtext(empty)Block redirectIf user access to the portal login screen is blocked, and if this parameter is set, the user is immediately redirected to the URL specified as a value. The URL value should be provided with a prefix, i.e., the expected value is of the form {fixed::www.xyz.com}. By default, this parameter is set to an empty string.
psc_exi_rdrtextloginExit redirect optionThe redirect option determines what happens when the user exits the application. The expected values are {login} to redirect to the login page, or {blank} to show a blank page, or {fixed::www.xyz.com} to redirect to specific URI. The default is {login}.
The application server may override this.
psc_exi_rtonumber3Exit redirect timeoutThe redirect timeout determines the number of seconds between the logout action and the triggering of the redirect process. Warning: this timeout is required to store the current user configuration of persistent application components. The recommended value is 10, the value is interpreted in seconds. Defaults to 10.
psc_msg_ttltext(empty)Message dialog titleThe message dialog title determines the title of basic message boxes. The default title of these boxes is “JustRelate CRM client”. Set the value of this variable to a non-empty string to modify that title. The expected value type is string. The default value is an empty string.
psc_por_apptext(empty)Portal application nameThe portal application name defines a Sales application from the available applications which will be used as the Sales application for the portal mode. The user will not be presented with an option to choose a different application. Please ensure that the application is also defined in the application set. The expected value is a string.
psc_por_blkboolfalseBlock portal login accessThis parameter allows administrators to block access to the user login screen when portal mode is activated. This feature can be useful in cases where the client is used with server autologin, and serves a very specific functionality. The default value is false.
psc_por_modboolfalsePSC Portal ModeThe portal mode property determines whether the web client is running in full mode (false) or portal mode (true). In portal mode, the users are presented with the PiSA Web Portal Interface, which provides simplified access to the system.
shw_cli_nfoboolfalseShow client information on loginIf set to true, then some client information is displayed in the message window. In portal mode, this value is always false.
ssn_alv_tim_outnumber5Session Alive TimeoutThe session alive timeout determines the amount of time in minutes after an inactive session is considered to be dead. A value of less than 2 minutes is not allowed. Time is measured in minutes, the default timeout is 5 minutes.
ssn_frc_tlsboolfalseForce HTTPS protocolForces the use of the HTTPS protocol. The default is false.
tmp_frc_rap_tblboolfalseTemporary: Force the use of the classic table controlA temporary option that forces the use of the classic table control.
ttp_sho_tmonumber0QuickViews: Tooltip/QuickView delay timeDelay time in milliseconds before a tooltip or QuickView appears if the mouse pointer hovers over a tooltip or QuickView aware item. Set to 0 for the default value.
url_cli_img_ret_svctext(empty)URL of image retrieval serviceIf the provided URL value is not empty, this variable will force the client to retrieve resources (such as images) on the client side using the service. If the variable is empty, the web-client server must have access to the web.
ver_nfo_rdcboolfalseReduced version informationIf active, a greatly reduced version information is shown in the version information dialog.
wai_for_dimnumber10JustRelate CRM Desktop Integration Initialization TimeoutTimeout in seconds until a connection to the JustRelate CRM Desktop Integration must have been established.
web_cli_uritext(empty)URI of this JustRelate CRM Web Client instanceIf this JustRelate CRM Web Client instance can be reached via different URIs, a common valid URI should be specified here. It must end with the correct servlet name.
wsv_frc_tlsboolfalseForce TLS for backend web socket connectionForce the use of TLS for web socket connections created by the web client backend and the application server.
wsv_wsc_urltext/psawscJustRelate CRM Desktop Integration service URL (Web server's point of view)The URL of the JustRelate CRM Desktop Integration service. The default is "/psawsc" which means that the service is hosted by the same web server and has the servlet name "psawsc". The full syntax is "[hostame[:port]]/servlet"

Login sets

General

All environment values targeting login sets have a name beginning with PISASALES_WEBCLI_LGI_. There's one overall value named PISASALES_WEBCLI_LGI_COUNT that specifies how many login sets are configured by environment values.

All login-set-specific values have a name prefix that provides the matching index: PISASALES_WEBCLI_LGI_n_ with n = 1, 2, 3, ...

For each login set to be created or updated from environment values, the login set name (also called application name) must be provided, i.e., the environment value PISASALES_WEBCLI_LGI_n_NAME must yield a non-empty name. Example:

export PISASALES_WEBCLI_LGI_COUNT=2
export PISASALES_WEBCLI_LGI_1_NAME="Application One"
export PISASALES_WEBCLI_LGI_2_NAME="Application Two"

In order to create a new login set, the host name and the target port must be specified. All other values are optional.

Example:

export PISASALES_WEBCLI_LGI_1_HOST=crm-host1.domain.com
export PISASALES_WEBCLI_LGI_1_PORT=42042

It is neither required nor possible to set all properties by environment variables. If a particular property is not set, the current value of an existing login set or the default value of a new login set becomes effective.

Basic configuration options

The following basic values are recognized:

NameValueDescription
NAMEApplication nameThe name of the login set, shown in the application selector.
HOSThost nameThe hostname of the application server.
PORT0 < port number < 65535The TCP port at which the application server is listening.
USERuser nameThe default user name. Usually not needed.
SASHPROPSy / nPersistent sash positions.
TABITEMSy / nPersistent tab item selection.
FIXEDy / nIf set, the user cannot change the login name. In this case USER must be set.
AUTOLOGINy / nSetting AUTOLOGIN to y requires USER to be set any may be used to enter the application bypassing the login page if the web client is invoked with a matching URL.

Extended application configuration options

All extended application configuration options have the name prefix PISASALES_WEBCLI_LGI_n_CFG_ with n = 1, 2, 3, ...

The following extended application configuration options are recognized:

NameValueDescription
FORCETMSTimestamp in PisaCubes formatUser configurations older than the given timestamp apply configuration settings from the login set.
BRWVIEWy / nShows or hides the "Browser" view.
DSKVIEWy / nShows or hides the "Desktop" view.
FNCPANELy / nShows or hides the function panel.
MSGVIEWy / nShows or hides the "Messages" view.
MULTIXTVy / nActivates or deactivates multiple external views.
NOOVERFLOWy / nIf active, main tabs that become invisible are closed immediately.
PUSHSVCy / nActivates or deactivates the push notification service.
QVWSHOWALLy / nActivates or deactivates the "show all QuickViews" feature.
QVWSHOWEXTy / nActivates or deactivates the "show QuickViews in external views" feature.
RCNCTRLSy / nShows or hides the record navigation controls.
TABGROUPINGy / nActivates or deactivates the "tab grouping" feature.
TBPINNEDy / nSets the second top menu bar to be pinned or unpinned.
VIEWTGLy / nSets the view toggle buttons to be visible or hidden.
WSCTLSy / nForce TLS for push notification service.
WSCURLURLSets a specific web socket URL for the push notification service.
XVIEWTABy / nSpecifies whether external views should be opened in a new browser tab (y) instead of a popup window (n).

Load balancing options

All options related to load balancing have the name prefix PISASALES_WEBCLI_LGI_n_LBA_ with n = 1, 2, 3, ...

The following options related to load balancing are recognized:

NameValueDescription
LBA_USEy / nActivates or deactivates the load balancing feature.
LBA_DEFHOSTy / nIndicates whether to include the default host in the list of target hosts.
LBA_TIMEOUTsecondsA socket timeout in seconds to wait for a response of an application server.
LBA_COUNTk = 1, 2, 3, ...The number of hosts to be contacted in the load balancing process.
LBA_HOST_k_NAMEhostnameThe hostname of the k'th host. k = 1, 2, 3, ...
LBA_HOST_k_PORT0 < port number < 65535The TCP port of the k'th host. k = 1, 2, 3, ...
Attention

The hostname and the TCP port must be specified for each load balancing host.

OpenID-Connect options

All options related to OpenID-Connect ("OIDC") have the name prefix PISASALES_WEBCLI_LGI_n_OIDC_ with n = 1, 2, 3, ...

The following options related to OpenID-Connect are recognized:

NameValueDescription
DCUURIThe URI of the discovery document.
SVUURIThe URI of the authentication service.
TEUURIThe URI of the token endpoint
CIDtextThe client ID.
SECtextThe client secret.
RDRURIThe re-direct URI.
SCStextAdditional scopes to be requested from the ID provider.
FRCy / nIf set to y, the user must always perform a full login procedure.
POPy / nIf set to y, the authentication service should show a popup window.
POPJSONThe size of the popup window as JSON. Example: {"cx": 420, "cy":640}