diff --git a/docs/dcc-options.md b/docs/dcc-options.md index a1b9a93..1f4c7db 100644 --- a/docs/dcc-options.md +++ b/docs/dcc-options.md @@ -1,7 +1,13 @@ +--- +layout: article +title: DC Options +description: Options in Data Controller are set in the MPE_CONFIG table and apply to all users. +og_title: Data Controller for SAS® Options +og_image: /img/mpe_config.png +--- # Data Controller for SAS® - Options -## Overview -The MPE_CONFIG table provides a number of options, to apply to all users: +The MPE_CONFIG table provides a number of options, which apply to all users: ## DC_EMAIL_ALERTS Set to YES or NO to enable email alerts. This requires email options to be preconfigured (mail server etc). @@ -14,6 +20,13 @@ By default, a maximum of 100 observations can be edited in the browser at one ti * Number (and size) of columns * Speed of client machine (laptop/desktop) +## DC_RESTRICT_EDITRECORD +Setting YES will prevent the EDIT RECORD dialog appearing in the EDIT screen by removing the "Edit Row" option in the right click menu, and the "ADD RECORD" button in the bottom left. + +Anything other than YES will mean that the modal _is_ available. + +Default=NO + ## DC_RESTRICT_VIEWER Set to YES to restrict the list of libraries and tables in VIEWER to only those explicitly set to VIEW in the MPE_SECURITY table. The default is NO (users can see all tables they already have permission to see). diff --git a/docs/img/mpe_config.png b/docs/img/mpe_config.png new file mode 100644 index 0000000..7f3bc42 Binary files /dev/null and b/docs/img/mpe_config.png differ diff --git a/docs/tables/mpe_config.md b/docs/tables/mpe_config.md new file mode 100644 index 0000000..45ead5c --- /dev/null +++ b/docs/tables/mpe_config.md @@ -0,0 +1,25 @@ +--- +layout: article +title: MPE_CONFIG +description: The MPE_CONFIG table is used to apply global system options in DC +og_title: MPE_CONFIG Table Documentation +og_image: /img/mpe_config.png +--- + +# MPE_MPE_CONFIGREVIEW + +The MPE_CONFIG table enables global system options. Further detail on each option can be found in the description of the option itself, or on the [options](/dcc-options) page. + +![submits](/img/mpe_config.png) + +The table is SCD2 controlled for ease of rollback and version management. + +## Columns + + - 🔑 `TX_FROM num`: SCD2 open datetime + - 🔑 `VAR_SCOPE char(10)`: A short code for grouping sets of options + - 🔑 `VAR_NAME char(32)`: The name of the option + - `VAR_VALUE char(5000)`: The value of the option + - `VAR_ACTIVE num`: Whether the rule should be used (1) or ignored (0). Setting rules to 0 is a convenient way to turn them off without deleting them. + - `VAR_DESC char(300)`: A short description of the option. + - `TX_TO num`: SCD2 close datetime