-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest25.json
84 lines (84 loc) · 1.89 KB
/
manifest25.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
{
"sap.app": {
"id": "card.explorer.filters.search.multiple",
"type": "card",
"title": "Sample of a 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"
}
}
},
"country": {
"type": "Search",
"label": "Country",
"value": "France",
"placeholder": "Enter a country",
"visible": "{= ${filters>/shipper/value} === '3'}"
}
},
"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} and contains(ShipCountry, '{filters>/country/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}"
}
},
"maxItems": "{parameters>/maxOrdersShown/value}"
}
}
}