Date Range Forwarding Wrapper
UI Component
Changed on:
18 Mar 2025
Overview
The`fc.daterange.wrapper.forwarder` is a wrapper designed to forward date range data to a URL. | Plugin Name | Inventory |
|---|
Alias
fc.daterange.wrapper.forwarder
Detailed technical description
An optional property,
`keyConfig`, allows to specify the variables' names to be used in the URL, making this wrapper highly flexible and adaptable for various use cases. Properties
| Name | Type | Required | Default Value | Description |
| keyConfig | `{``from: string;``to: string;``}` | No | `{``from: 'from',``to: 'to',``}` | Defines how date range values are mapped variables' names to be used in the URL. |
Configuration example
1{
2 "type": "page",
3 "path": "bppDashboard",
4 "component": "fc.page",
5 "nav": {
6 "label": "i18n:fc.inventory.sources.dashboard.bpp",
7 "icon": "filter_list"
8 },
9 "props": {
10 "title": "i18n:fc.inventory.sources.dashboard.bpp.title"
11 },
12 "descendants": [
13 {
14 "component": "fc.daterange.wrapper.forwarder",
15 "props": {
16 "keyConfig": {
17 "from": "start",
18 "to": "end"
19 }
20 }
21 }
22 ]
23}Version History
Recommended Placement
None