diff --git a/docs/dcc-options.md b/docs/dcc-options.md index 4f7e9d3..228ecde 100644 --- a/docs/dcc-options.md +++ b/docs/dcc-options.md @@ -28,6 +28,9 @@ 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_MAXOBS_WEBVIEW +By default, a maximum of 500 observations can be viewed in the browser at one time. Please see previous section for items to consider if increasing this value. + ### DC_REQUEST_LOGS On SASjs Server and SAS9 Server types, at the end of each DC SAS request, a record is added to the [MPE_REQUESTS](/tables/mpe_requests) table. In some situations this can cause table locks. To prevent this issue from occuring, the `DC_REQUEST_LOGS` option can be set to `NO` (Default is `YES`). diff --git a/docs/dcu-tableviewer.md b/docs/dcu-tableviewer.md index 9ff0e31..967c541 100644 --- a/docs/dcu-tableviewer.md +++ b/docs/dcu-tableviewer.md @@ -1,7 +1,7 @@ # 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. +Choose a library, then a table, and click view to see the first 500 rows. A filter option is provided should you wish to view a different section of rows. The following libraries will be visible: diff --git a/docs/embed-va.md b/docs/embed-va.md index 7ef0415..f992e42 100644 --- a/docs/embed-va.md +++ b/docs/embed-va.md @@ -22,8 +22,8 @@ The `?embed=` parameter accepts three values: | Value | Behaviour | |---|---| -| `true` | Chrome (header, back button, sub-nav) is hidden. Editor opens in its normal read-only / Filter mode. | -| `va` | Same chrome-hiding as `true`, **plus** editor starts in edit mode, "Add Row" / Cancel / top action buttons are hidden, and a single bottom **Submit** button is rendered. | +| `true` | Chrome (header, back button, sub-nav) is hidden. Editor functions normally. | +| `va` | Same chrome-hiding as `true`, **plus** editor becomes "VA-aware" - any report filters are captured, and columns can be displayed / hidden using the Edit Report interface. Filter button is disabled (use VA filters instead)| | `false` (or omitted) | Standard interactive UI. | ## How VA drives the editor @@ -40,4 +40,12 @@ More logic available in [`va-messaging.service.ts'](https://git.datacontroller.i ## Configuration in VA -In the VA Report Designer, add a **Data-Driven Content** object and set the URL to the editor route shown above. Be sure that any report level filters have their corresponding parameters added to the DDC object itself. \ No newline at end of file +In the VA Report Designer, add a **Data-Driven Content** object and set the URL to the editor route shown above. Be sure that any report level filters have their corresponding parameters added to the DDC object itself. + +## Debugging + +The following snippet can be used in console to dump the values being provided to DC from VA: + +``` +console.log(JSON.stringify(window.__vaLastMessage?.data, null, 2)) +``` \ No newline at end of file