Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tutorials/appstudio-sapui5-integrationcard-create/2-4.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

115 changes: 55 additions & 60 deletions tutorials/appstudio-sapui5-integrationcard-create/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"_version": "1.14.0",
"sap.app": {
"id": "ns.products_by_category_card",
"id": "ns.orders_by_shipper",
"type": "card",
"title": "Products by Category Card",
"title": "Orders by Shipper",
"subTitle": "UI5 Integration Card of Type List",
"applicationVersion": {
"version": "1.0.0"
Expand All @@ -20,82 +20,77 @@
"type": "List",
"configuration": {
"destinations": {
"ES5": {
"name": "ES5",
"defaultUrl": "/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/"
"Northwind": {
"name": "Northwind",
"label": "Northwind V4 Service URL",
"defaultUrl": "https://services.odata.org/V4/Northwind/Northwind.svc"
}
},
"parameters": {
"title" : {
"value": "List Card with Top {{parameters.maxItems}} Products"
"title": {
"value": "Orders by Shipper"
},
"subTitle": {
"value": "These are the top sellers this month"
"maxOrdersShown": {
"value": "4",
"type": "integer",
"label": "Numbers of orders",
"description": "How many orders to show in the list."
},
"maxItems": {
"value": 4
},
"selectedCategoryName": {
"value": "Computer Systems"
}
},
"filters": {
"mainCategory": {
"value": "{{parameters.selectedCategoryName}}",
"type": "string",
"label": "Main Category",
"description": "Filter products by main category.",
"item": {
"path": "/d/results",
"template": {
"key": "{Id}",
"title": "{Name}"
}
},
"data": {
"request": {
"url": "{{destinations.ES5}}/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/MainCategories",
"withCredentials": true
}
}
}
}
"selectedShipperID": {
"value": 3,
"label": "The default selected shipper"
}
},
"filters": {
"shipper": {
"value": "{parameters>/selectedShipperID/value}",
"type": "Select",
"label": "Shipper",
"item": {
"path": "/value",
"template": {
"key": "{ShipperID}",
"title": "{CompanyName}"
}
},
"data": {
"request": {
"url": "https://services.odata.org/V4/Northwind/Northwind.svc/Shippers"
}
}
}
}
},
"data": {
"request": {
"url": "{{destinations.ES5}}/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/Products",
"parameters": {
"$filter": "MainCategoryName eq '{filters>/mainCategory/value}'"
"url": "https://services.odata.org/V4/Northwind/Northwind.svc/Orders",
"parameters": {
"$top": "{parameters>/maxOrdersShown/value}",
"$filter": "Shipper/ShipperID eq {filters>/shipper/value}"
}
},
"path": "/value"
},
"withCredentials": true
},
"path": "/d/results"
},
"designtime": "dt/configuration",
"header": {
"title": "Products filtered by {filters>/mainCategory/selectedItem/title} category",
"subTitle": "{{parameters.subTitle}}",
"title": "Orders by Shipper {filters>/shipper/selectedItem/title}",
"icon": {
"src": "sap-icon://desktop-mobile"
},
"status": {
"text": "{{parameters.maxItems}} of 20"
"text": "{parameters>/maxOrdersShown/value}"
}
},
"content": {
"item": {
"title": "{Name}",
"description": "{Description}",
"icon": {
"src": "{ImageUrl}"
},
"info": {
"value": "{AverageRating}",
"state": "{= ${AverageRating} > 3.5 ? 'Success' : 'Warning' }"
}
},
"maxItems": "{{parameters.maxItems}}"
}
"item": {
"title": "{ShipName}",
"description": "{ShipAddress}",
"info": {
"value": "{ShipCountry}"
}
},
"maxItems": "{parameters>/maxOrdersShown/value}"
}
},
"sap.platform.mobilecards": {
"compatible": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
{{
"_version": "1.14.0",
"sap.app": {
"id": "ns.products_by_category_card",
"id": "ns.orders_by_shipper",
"type": "card",
"title": "Products by Category Card",
"title": "Orders by Shipper",
"subTitle": "UI5 Integration Card of Type List",
"applicationVersion": {
"version": "1.0.0"
Expand All @@ -20,19 +20,19 @@
"type": "List",
"configuration": {
"destinations": {
"ES5": {
"name": "ES5",
"defaultUrl": "/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/"
"Northwind": {
"name": "Northwind",
"label": "Northwind V4 Service URL",
"defaultUrl": "https://services.odata.org/V4/Northwind/Northwind.svc"
}
}
},
"data": {
"request": {
"url": "{{destinations.ES5}}/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/Products",
"withCredentials": true
},
"path": "/d/results"
},
"url": "https://services.odata.org/V4/Northwind/Northwind.svc/Orders"
},
"path": "/value"
},
"designtime": "dt/configuration",
"header": {
"title": "List Card with Top 5 Products",
Expand All @@ -45,19 +45,14 @@
}
},
"content": {
"item": {
"title": "{Name}",
"description": "{Description}",
"icon": {
"src": "{ImageUrl}"
},
"info": {
"value": "{AverageRating}",
"state": "{= ${AverageRating} > 3.5 ? 'Success' : 'Warning' }"
}
},
"maxItems": 5
}
"item": {
"title": "{ShipName}",
"description": "{ShipAddress}",
"info": {
"value": "{ShipCountry}"
}
}
}
},
"sap.platform.mobilecards": {
"compatible": false
Expand Down