-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest1.json
75 lines (75 loc) · 1.78 KB
/
manifest1.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
{
"_version": "1.20.0",
"sap.app": {
"id": "card.explorer.integration.hostContext",
"type": "card",
"title": "Sample of host context",
"subTitle": "Sample of host context",
"applicationVersion": {
"version": "1.0.0"
},
"shortTitle": "A short title for this card",
"info": "Additional information about this card",
"description": "A long description for this card",
"tags": {
"keywords": [
"host",
"Context",
"Card",
"Sample"
]
}
},
"sap.card": {
"type": "List",
"data": {
"request": {
"url": "{{destinations.myDestination}}/Products",
"parameters": {
"$format": "json",
"$top": "{parameters>/maxItems/value}",
"$orderby": "ProductID asc"
}
}
},
"configuration": {
"destinations": {
"myDestination": {
"name": "Northwind",
"defaultUrl": "https://services.odata.org/V4/Northwind/Northwind.svc"
}
},
"parameters": {
"maxItems": {
"value": 5,
"type": "integer",
"label": "Maximum Items",
"description": "Defines how many items will be displayed at most."
},
"supplierId": {
"value": "{context>/sample/supplier/id/value}"
},
"categoryId": {
"value": "{context>/sample/category/id/value}"
}
}
},
"header": {
"title": "Host context sample",
"subTitle": "Top {parameters>/maxItems/value} products for supplier {context>/sample/supplier/title/value} in category {context>/sample/category/title/value}",
"status": {
"text": "top {parameters>/maxItems/value}"
}
},
"content": {
"data": {
"path": "/value/"
},
"maxItems": "{parameters>/maxItems/value}",
"item": {
"title": "{ProductName} ({context>/sample/category/title/value})",
"description": "Unit Price {= format.currency(${UnitPrice}, 'EUR')}"
}
}
}
}