-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest24.json
85 lines (85 loc) · 1.81 KB
/
manifest24.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"sap.app": {
"id": "card.explorer.filters.dynamicFilter",
"type": "card",
"title": "Sample of Card with Filters"
},
"sap.card": {
"configuration": {
"filters": {
"shipper": {
"value": "{parameters>/selectedShipperID/value}",
"type": "Select",
"label": "Shipper",
"item": {
"path": "/value",
"template": {
"key": "{ShipperID}",
"title": "{CompanyName}"
}
},
"data": {
"request": {
"url": "{{destinations.Northwind_V4}}/Shippers"
}
}
}
},
"destinations": {
"Northwind_V4": {
"name": "Northwind_V4",
"label": "Northwind V4 Service URL",
"defaultUrl": "https://services.odata.org/V4/Northwind/Northwind.svc"
}
},
"parameters": {
"maxOrdersShown": {
"value": 6,
"type": "integer",
"label": "Number of orders",
"description": "How many orders to show in the list."
},
"selectedShipperID": {
"value": 3,
"type": "integer",
"label": "The default selected shipper"
}
}
},
"data": {
"request": {
"url": "{{destinations.Northwind_V4}}/Orders",
"parameters": {
"$top": "{parameters>/maxOrdersShown/value}",
"$filter": "Shipper/ShipperID eq {filters>/shipper/value}"
}
},
"path": "/value/"
},
"type": "List",
"header": {
"title": "Orders by Shipper {filters>/shipper/selectedItem/title}",
"icon": {
"src": "sap-icon://product"
}
},
"content": {
"item": {
"title": "{ShipName}",
"description": "{ShipAddress}",
"info": {
"value": "{ShipCountry}"
},
"actions": [
{
"type": "Navigation",
"parameters": {
"url": "./?OrderID={OrderID}&ShipperID={filters>/shipper/value}"
}
}
]
},
"maxItems": "{parameters>/maxOrdersShown/value}"
}
}
}