MACRO Structure
To add a setting, type it on a new line within the file and save the changes. See example

Do not edit or remove the security path line at the top of the Settings file.
There are some settings in the Setting file which must not be edited.
Setting |
Value |
Description |
cabextract |
The path to the desired location of the CabExtract folder. The path must end with a terminating \ |
The location of the CabExtract folder in which temporary files are held during subject and study import. If the setting does not exist, the folder will be located within the application folder. |
in folder |
The path to the desired location of the In Folder. The path must end with a terminating \ |
The location of the In Folder which contains sample study and laboratory definitions. If the setting does not exist, the folder will be located within the application folder. |
out folder |
The path to the desired location of the Out Folder. The path must end with a terminating \ |
The location of the Out Folder which is used to store any study definitions, subject data and laboratory definitions exported via the System Management module and any queries created in the Query module. If the setting does not exist, the folder will be located within the application folder. |
temp |
The path to the desired location of the temp folder. The path must end with a terminating \ |
The location of the temp folder which is a writable folder used to store error logs or other temporary files. If the setting does not exist, the folder will be located within the application folder. |
hostedenvironment |
1, 0 |
If the value is set to 1, all 'Open/Save File' browse windows throughout MACRO will be replaced with a simpler version that only allows access to the drives and directories specified in the 'permitted drives' and 'permitteddrivesregex' settings described below.it also disables the commands listed in the Restricting file system access topic. If the value is set to 0, the standard Windows 'Open/Save File' browse windows will be used. |
permitteddrives |
Comma separated list of drives and directories eg C:\,C:\CLM Files When specifying a drive, the path must end with a terminating \ |
Only used in conjunction with the 'hostedenvironment' setting (above). Specifies the list of drives and directories to which the user has access when using 'Open/Save Files' browse windows throughout MACRO. If this setting does not exist, full access is available. Alternatively, you can use a regular expression to specify the drives (see below). |
permitteddrivesregex |
Regular expressions of drives and directories eg TSClient[0-9]{1,} |
Only used in conjunction with the 'hostedenvironment' setting (above). Specifies the regular expression of the drives and directories to which the user has access when using 'Open/Save File' browse windows throughout MACRO. |
See the Output Options for the AR module.
Setting |
Value |
Description |
homeurl |
The path to the desired location of home.asp. The path must end with a terminating \ |
The location of home.asp which is the standard MACRO home page. |
Setting |
Value |
Description |
reportsdirectory |
The path to the desired location of the report files. |
The location in which .aspx custom report files created through the REP module will be saved. You may need to set this if you are restricting file system access. If this setting does not exist, the files will be saved to the default Custom_Reports folder within the application folder. |
reportsbindirectory |
The path to the desired location of the report bin files. |
The location in which the .repx and .dll bin files automatically generated through the REP module when you create a custom report will be saved. You may need to set this if you are restricting file system access. If this setting does not exist, the files will be saved to the default Custom_Reports folder within the application folder. |
Setting |
Value |
Description |
yes, no |
If the value is set to yes, the Multi User Study Definition feature is enabled in Study Definition. If the value is set to no, or does not exist, the feature is not enabled. |
|
yes, no |
If the value is set to yes, or does not exist, partial date handling is enabled in Study Definition. If the value is set to no the feature is not enabled and study designers will not be able to specify that date questions can accept partial dates. More information on partial date handing...
This setting only affects the Study Definition module. It is not possible to switch off partial date handling in Windows Data Entry. This means that if a study is created in Study Definition which contains partial dates, these partial dates will be active in Windows Data Entry even if partial dates are switched off in the Settings file. |
Setting |
Value |
Description |
du_reports |
The path to the desired location of the report and log files. The path must end with a terminating \ |
The location in which all SDDU reports and logs will be written. |
Setting |
Value |
Description |
cabextract |
The path to the desired location of the CabExtract folder. The path must end with a terminating \ |
The location of the CabExtract folder in which temporary files are held during subject and study import. If the setting does not exist, the folder will be located within the application folder. |
true, false |
Determines when the database node of the tree view in the System Management module is built. If the value is set to false, the node will not built until you select Refresh from the View menu. See example
If the setting does not exist, or is set to true, the node will be built on startup. See example
|