This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
4D Environment
|
Constant | Type | Value | Comment |
_o_4D Interpreted desktop | Longint | 2 | |
_o_Extras folder | Longint | 2 | Folder with customized contents downloaded to each client machine. Compatibility Note: Beginning with version 11.2 of 4D v11 SQL, it is no longer advisable to use the Extras folder for customized communication between the server and remote machines. It is now recommended to use the Resources folder for this purpose (see the description of the current Resources folder below). The Extras folder is nevertheless still supported by 4D Server so as to maintain the compatibility of existing applications. Note: If the Extras folder does not exist for the database, executing the Get 4D folder command with the Extras folder constant will create it. |
_o_Full Version | Longint | 0 | |
4D Client database folder | Longint | 3 | |
4D Desktop | Longint | 3 | |
4D Local mode | Longint | 0 | |
4D Remote mode | Longint | 4 | |
4D Server | Longint | 5 | |
4D user account | Longint | 1 | 4D user account name. |
4D user alias | Longint | 2 | Alternate name for 4D user account if defined with the SET USER ALIAS command or empty string ("") if no alias is defined for the 4D user. |
4D user alias or account | Longint | 0 | Alternate name for 4D user account as defined with the SET USER ALIAS command, or regular 4D user account name if no alias is defined. |
4D Volume desktop | Longint | 1 | |
64 bit version | Longint | 1 | |
Active 4D Folder | Longint | 0 | |
Activity all | Longint | -1 | Activity from all sources (default value) |
Activity language | Longint | 1 | Language execution operations |
Activity network | Longint | 2 | Network request operations |
Activity operations | Longint | 4 | 4D data operations |
Backup history file | Longint | 19 | Backup history file (see Configuration and trace files). Stored in the backup destination folder. |
Backup log file | Longint | 13 | Current backup journal file (see Configuration and trace files). Stored in the Logs folder of the database. |
Backup settings file | Longint | 18 | Default backup.4DSettings file (xml format), stored in the Settings folder of the database |
Backup settings file for data | Longint | 17 | backup.4DSettings file (xml format) for the data file, stored in the Settings folder of the data folder |
Build application log file | Longint | 14 | Current log file in xml format of the default application builder configuration file (buildApp.4DSettings). Stored in the Logs folder of the database. |
Build application settings file | Longint | 20 | Default settings file of the application builder ("buildApp.4DSettings"). Stored in the Settings folder of the database. |
Compacting log file | Longint | 6 | Log file of the most recent compacting done with the Compact data file command or the Maintenance and security center. Stored in the Logs folder of the database. |
Current backup settings file | Longint | 1 | backup.4DSettings file currently used by the application. It can be the backup settings file (default) or a custom user backup settings file defined for the data file |
Current localization | Longint | 1 | Current language of the application: default language or language set via the SET DATABASE LOCALIZATION command. |
Current resources folder | Longint | 6 | |
Data folder | Longint | 9 | |
Database folder | Longint | 4 | |
Database folder Unix syntax | Longint | 5 | |
Debug log file | Longint | 12 | Log file created by the SET DATABASE PARAMETER(Debug log recording) command. Stored in the Logs folder of the database. |
Default localization | Longint | 0 | Language set automatically by 4D on startup according to the Resources folder and the system environment (not modifiable). |
Demo version | Longint | 0 | |
Diagnostic log file | Longint | 11 | Log file created by the SET DATABASE PARAMETER(Diagnostic log recording) command. Stored in the Logs folder of the database. |
Directory file | Longint | 16 | directory.json file, containing the description of users and groups (if any) for the project database. It can be located either in the user database settings folder (default, global to the project), or in the data settings folder (specific to a data file). |
Full method text | Longint | 1 | |
Highlighted method text | Longint | 2 | |
HTML Root folder | Longint | 8 | |
HTTP Client log file | Longint | 24 | Log file created by the HTTP SET OPTION(HTTP client log;value) command. Stored in the Logs folder. |
HTTP debug log file | Longint | 9 | Log file created by the WEB SET OPTION(Web debug log) command. Stored in the Logs folder of the database. |
HTTP log file | Longint | 8 | Log file created by the WEB SET OPTION(Web log recording) command. Stored in Logs folder of the database. |
IMAP Log file | Longint | 23 | Log file created by the SET DATABASE PARAMETER(IMAP Log) command. Stored in the Logs folder of the database |
Internal 4D localization | Longint | 3 | Language used by 4D for sorts and text comparisons (set in the Preferences of the application). |
Last backup file | Longint | 2 | Last backup file, named <databaseName>[bkpNum].4BK, stored at a custom location. |
Last journal integration log file | Longint | 22 | Full pathname of the last journal integration log file (stored in the Logs folder of the restored application), if any. This file is created, in auto-repair mode, as soon as a log file integration occurred (see ). |
Licenses folder | Longint | 1 | |
Logs folder | Longint | 7 | |
Merged application | Longint | 2 | Version is an application merged with 4D Volume Desktop |
MobileApps folder | Longint | 10 | |
POP3 Log file | Longint | 21 | Log file created by the SET DATABASE PARAMETER(POP3 Log) command. Stored in the Logs folder of the database. |
Processes and sessions | Longint | 0 | Returns both "processes" and "sessions" lists (default value) |
Processes only | Longint | 1 | Returns only the "processes" list |
Repair log file | Longint | 7 | Log file of database repairs made on the database in the Maintenance and Security Center (MSC). Stored in the Logs folder of the database. |
Request log file | Longint | 10 | Standard client/server request log file (excluding Web requests) created by the SET DATABASE PARAMETER(4D Server log recording) or SET DATABASE PARAMETER(Client log recording) commands. If executed on the server, the server log file is returned (stored in the Logs folder on the server). If executed on the client, the client log file is returned (stored in the client local Logs folder). |
Sessions only | Longint | 2 | Returns only the "sessions" list |
SMTP log file | Longint | 15 | Log file created by the SET DATABASE PARAMETER(SMTP Log) command. Stored in the Logs folder of the database. |
Structure settings | Longint | 0 | Access to "Structure settings" (default value if parameter omitted). In this mode, values used for selector are identical to those in standard mode. |
tool4d | Longint | 6 | For more information, see tool4D on developer.4d.com. |
User settings | Longint | 1 | Access to "User settings". In this mode, only certain keys can be used in the selector parameter |
User settings file | Longint | 3 | settings.4DSettings file for all data files, stored in Settings folder next to database structure file if enabled. |
User settings file for data | Longint | 4 | settings.4DSettings file for current data file, stored in Settings folder next to the data file. |
User settings for data | Longint | 2 | Access to "User settings for data file", that is, user settings stored at the same level as the data file. In this mode, only certain keys can be used with the selector parameter. |
User system localization | Longint | 2 | Language set by the current user of the system. |
Verification log file | Longint | 5 | Log files created by the VERIFY CURRENT DATA FILE and VERIFY DATA FILE commands or the Maintenance and Security Center (MSC). Stored in the Logs folder of the database. |
vss available | String | available | The service is available. |
vss error | String | error | The service experienced an error. |
vss not available | String | notAvailable | The service is unavailable. |
vss update required | String | updateRequired | The service needs to be updated. |
Application type
Compile project
Current user
File
File and Folder
Folder
Get 4D file
Get 4D folder
Get application info
Get database localization
GET MACRO PARAMETER
Get Monitored Activity
OPEN SETTINGS WINDOW
Process activity
SET MACRO PARAMETER
START MONITORING ACTIVITY
Version type
Product: 4D
Theme: List of constant themes
Modified: 4D v16 R4
Modified: 4D v17 R2
Modified: 4D v17 R5
Modified: 4D v18
4D Language Reference ( 4D v20 R7)