In the app DEC are used the variables of the script library DocExtLib to set some parameters of app working and to translate into a required language all app messages that are displayed at the code running. The values for the variables can be redefined through special profiles in the app. The value setting for a variable must satisfy to the Lotus Script syntax, otherwise it causes an error and the profile will not be saved. Two types of profiles are provided in the app: Common and Language.

Common profile

The profile contains the variables which affect different aspects of working the app DEC. The single common profile in the app sets values for the following variables:

DE_DEBUG_D2D - boolean, initially False. Sets the displaying of all field changes caused by a config DocToDoc. The value True enables such displaying, otherwise, if value is False, only changes of fields listed in the config DocExt\Doc matching the modifiable document are being displayed.
DE_DELAY_MAIL - string, initially "DEconfig". The e-mail address of mail-in database which is set to receive and process the requests for delayed documents updates. If you type the empty string as the variable's value but the delayed documents update is defined in DocExt\DocUpDoc config, the created requests for documents update will be only saved in the used app DEC without their further processing.
DE_LOG_APP - string, initially "Log". The name of the app ( in a Project config ) by default which is used as the documents updates log.
DE_LOG_FIELD - string, initially "Log". The name of the field by default which is used to log document changes in the document itself.
DE_PRINT - boolean, initially True. Sets the displaying of any messages at application working. The value False disables this displaying.
DE_SHOW_PROGRESS - long, initially 10. The minimum count of related documents which are updated at the changing of source document at which the progress bar of the updating should be displayed. Set the zero (0) not to display the progress bar at all.

You can change a variable value through the Notes menu Actions \ Script Library Variables \ Common - Edit.

Language profile

A language profile defines a language for messages that are being displayed at the code running of library DocExtLib. A profile contains the variables to translate all messages into a language. Initially the app DEC always contains English language profile. To add new language profile or to edit the variables of an existing one, choose in Notes menu: Actions \ Script Library Variables \ Language - Edit.

Setting a Language

If you have added own language profile you can set it as default for the app DEC through the Notes menu item - Actions \ Script Library Variables \ Language - Set default for app. By this you set the chosen language name as value for the field Language in the common profile and next the name will be propagated as value of the variable DE_CONFIG_LANGUAGE in the file NOTES.INI at the first access to the app DEC on a computer. To set an alternate language for a computer you must change the NOTES.INI variable's value to the language name which the profile had been created for. A one method to do this, choose in the Notes menu: Actions \ Script Library Variables \ Language - Set for this computer.


Topic links:

Delayed documents update

Documents Update Log

Script library DocExtLib

See also:

Application DEC