diff --git a/docs/dcc-selectbox.md b/docs/dcc-selectbox.md new file mode 100644 index 0000000..2566e70 --- /dev/null +++ b/docs/dcc-selectbox.md @@ -0,0 +1,25 @@ +# Data Controller for SASĀ® - Selectboxes + +## Overview +To ensure data validity and to improve user experience, it is possible to predesignate specific values for data entry. These appear to the user as a selectbox within the editor interface. + +## Configuration + +Values are added by populating the `DATACTRL.MPE_SELECTBOX` table, eg below: + +![selectboxtable](img/mpe_selectboxtable.png) + +### BASE_LIBDS +The library.dataset to which the selectbox needs to be applied + +### BASE_COLUMN +The column in which the selectbox values will be entered + +### SELECTBOX_VALUE +The actual values to be shown in the selectbox + +### SELECTBOX_ORDER +The order in which the selectbox values should be displayed + +### SELECTBOX_TYPE +Reserved for future use. diff --git a/docs/img/mpe_selectboxtable.png b/docs/img/mpe_selectboxtable.png new file mode 100644 index 0000000..b498308 Binary files /dev/null and b/docs/img/mpe_selectboxtable.png differ diff --git a/mkdocs.yml b/mkdocs.yml index be6f48c..a7c3052 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,16 +5,18 @@ pages: - DC Overview: dc-overview.md - DC User Guide: dc-userguide.md - Configuring Data Controller: - - Adding Tables: dcc-tables.md + - Tables: dcc-tables.md - Security: dcc-security.md - + - Selectboxes: dcc-selectbox.md markdown_extensions: - admonition - pymdownx.superfences - codehilite - fontawesome_markdown + extra_css: ['font-awesome.css'] + theme: name: material logo: 'img/favicon.ico'