-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest30.json
75 lines (75 loc) · 1.66 KB
/
manifest30.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
{
"sap.app": {
"id": "card.explorer.filters.combobox.dynamic",
"type": "card",
"title": "Sample of a Card with Filters"
},
"sap.card": {
"configuration": {
"filters": {
"country": {
"selectedIndex": 0,
"type": "ComboBox",
"label": "Country",
"placeholder": "Country",
"data": {
"request": {
"url": "./data30.json"
}
},
"item": {
"path": "/",
"template": {
"key": "{key}",
"title": "{text}",
"additionalText": "{key}"
}
}
}
},
"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."
}
}
},
"data": {
"request": {
"url": "{{destinations.Northwind_V4}}/Orders",
"parameters": {
"$top": "{parameters>/maxOrdersShown/value}",
"$filter": "ShipCountry eq '{filters>/country/value}'"
}
},
"path": "/value"
},
"type": "List",
"header": {
"title": "Orders from {filters>/country/value}",
"subTitle" : "{filters>/country/selectedItem/title}, key: {filters>/country/selectedItem/key}, additional text: {filters>/country/selectedItem/additionalText}",
"icon": {
"src": "sap-icon://product"
}
},
"content": {
"item": {
"title": "{ShipName}",
"description": "{ShipAddress}",
"info": {
"value": "{ShipCountry}"
}
},
"maxItems": "{parameters>/maxOrdersShown/value}"
}
}
}