feat: updates for v7.10 release
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 2m31s
Publish to docs.datacontroller.io / Deploy docs (push) Successful in 2m31s
This commit is contained in:
+11
-3
@@ -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.
|
||||
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))
|
||||
```
|
||||
Reference in New Issue
Block a user