-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest26.json
70 lines (70 loc) · 1.43 KB
/
manifest26.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
{
"sap.app": {
"id": "card.explorer.filters.search",
"type": "card",
"title": "Sample of a Card with Search Filter"
},
"sap.card": {
"configuration": {
"filters": {
"searchQuery": {
"type": "Search",
"label": "City",
"placeholder": "Enter a city"
}
},
"parameters": {
"numberOfProducts": {
"value": 4,
"type": "integer",
"label": "Number of products",
"description": "How many products to show in the list."
}
},
"destinations": {
"Northwind_V4": {
"name": "Northwind_V4",
"label": "Northwind V4 Service URL",
"defaultUrl": "https://services.odata.org/V4/Northwind/Northwind.svc"
}
}
},
"data": {
"request": {
"url": "{{destinations.Northwind_V4}}/Customer_and_Suppliers_by_Cities",
"parameters": {
"$filter": "contains(City, '{filters>/searchQuery/value}')",
"$count": true
}
}
},
"type": "List",
"header": {
"title": "Customers and Suppliers",
"icon": {
"src": "sap-icon://customer-and-supplier"
},
"status": {
"text": {
"format": {
"translationKey": "i18n>CARD.COUNT_X_OF_Y",
"parts": [
"parameters>/visibleItems",
"/@odata.count"
]
}
}
}
},
"content": {
"data": {
"path": "/value"
},
"item": {
"title": "{CompanyName}",
"description": "{Relationship}, {City}"
},
"maxItems": "{parameters>/numberOfProducts/value}"
}
}
}