docs: viewer

This commit is contained in:
Allan Bowe 2020-04-24 22:31:16 +02:00
parent 198d11a9f2
commit 53f071a0b7
3 changed files with 22 additions and 11 deletions

View File

@ -19,9 +19,9 @@ Check back frequently as we plan to keep growing this list of checks.
|RULE_TYPE|RULE_VALUE|DESCRIPTION|
|---|---|---|
|CASE|UPCASE|Will enforce uppercase of cell values. Valid values: UPCASE, LOWCASE|
|NOTNULL||Will prevent submission if null values are present. Optional - provide a default value.|
|CASE|UPCASE|Will enforce the case of cell values. Valid values: UPCASE, LOWCASE, PROPCASE|
|NOTNULL|(defaultval)|Will prevent submission if null values are present. Optional - provide a default value.|
|MINVAL|1|Defines a minimum value for a numeric cell|
|MAXVAL|1000000|Defines a maximum value for a numeric cell|
|HARDSELECT|sashelp.class.name|A distinct list of values (max 1000) are taken from this library.member.column reference, and the value **must** be in this list|
|SOFTSELECT|dcdemo.mpe_tables.libref|A distinct list of values (max 1000) are taken from this library.member.column reference, and the value **may** be in this list|
|HARDSELECT|sashelp.class.name|A distinct list of values (max 1000) are taken from this library.member.column reference, and the value **must** be in this list. This list may be supplemented by entries in the MPE_SELECTBOX table.|
|SOFTSELECT|dcdemo.mpe_tables.libref|A distinct list of values (max 1000) are taken from this library.member.column reference, and the value **may** be in this list. This list may be supplemented by entries in the MPE_SELECTBOX table.|

View File

@ -1,17 +1,28 @@
# Data Controller for SAS: User Guide
## Viewer
# Data Controller for SAS: Viewer
The viewer screen provides a raw view of the underlying table.
Choose a library, then a table, and click view to see the first 5000 rows.
A filter option is provided should you wish to view a different section of rows.
The Download button gives three options for obtaining the current view of data:
## Options
This button shows a range of options. If the table is editable, you will also see a EDIT option.
### Download
The Download button gives several options for obtaining the current view of data:
1) CSV. This provides a comma delimited file.
2) Excel. This provides a tab delimited file.
3) SAS. This provides a SAS program with data as datalines, so that the data can be rebuilt as a SAS table.
3) SAS Datalines. This provides a SAS program with data as datalines, so that the data can be rebuilt as a SAS table.
4) SAS DDL. A download of a DDL file using SAS flavoured syntax.
5) TSQL DDL. A DDL download using SQL Server flavoured syntax.
Note - if the table is registered in Data Controller as being TXTEMPORAL (SCD2) then the download option will prefilter for the _current_ records and removes the valid from / valid to variables. This makes the CSV suitable for DC file upload, if desired.
### Web Query URL
This option gives you a URL that can be used to import data directly into third party tools such as Power BI or Microsoft Excel (as a "web query"). You can set up a filter, eg for a particular month, and refresh the query on demand using client tooling such as VBA.

View File

@ -1037,7 +1037,7 @@ Data Controller source licences are extracted automatically from our repo using
│ ├─ url: http://trentm.com
│ ├─ path: /Users/allan/git/dcfrontend/node_modules/dashdash
│ └─ licenseFile: node_modules/dashdash/LICENSE.txt
├─ datacontroller@3.0.0
├─ datacontroller@3.2.0
│ ├─ licenses: UNLICENSED
│ ├─ private: true
│ ├─ path: ../dcfrontend
@ -3073,7 +3073,7 @@ Data Controller source licences are extracted automatically from our repo using
│ ├─ url: https://github.com/ChALkeR
│ ├─ path: /Users/allan/git/dcfrontend/node_modules/safer-buffer
│ └─ licenseFile: node_modules/safer-buffer/LICENSE
├─ sasjs@2.2.4
├─ sasjs@2.2.5
│ ├─ licenses: ISC
│ ├─ repository: https://github.com/macropeople/sasjs
│ ├─ publisher: Allan Bowe