on 05-22-2023 5:51 PM
Hi,
I am trying to create a UI Integration Cards from BAS following the step by step of the following tutorial:
When trying to preview the project, it turns out that the query it makes to ES5 gives an error 404 not found.
I leave you the manifest.json:
{
"_version": "1.14.0",
"sap.app": {
"id": "ns.products_by_category_card",
"type": "card",
"title": "Products by Category Card",
"subTitle": "UI5 Integration Card of Type List",
"applicationVersion": {
"version": "1.0.0"
}
},
"sap.ui": {
"technology": "UI5",
"deviceTypes": {
"desktop": true,
"phone": true,
"tablet": true
},
"icons": {
"icon": "sap-icon://list"
}
},
"sap.card": {
"type": "List",
"configuration": {
"destinations": {
"ES5": {
"name": "ES5",
"defaultUrl": "/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/"
}
}
},
"data": {
"request": {
"url": "{{destinations.ES5}}/sap/opu/odata/sap/EPM_REF_APPS_SHOP_SRV/Products",
"withCredentials": true
},
"path": "/d/results"
},
"designtime": "dt/configuration",
"header": {
"title": "Products filtered by {filters>/mainCategory/selectedItem/title} category",
"subTitle": "{{parameters.subTitle}}",
"icon": {
"src": "sap-icon://desktop-mobile"
},
"status": {
"text": "{{parameters.maxItems}} of 20"
}
},
"content": {
"item": {
"title": "{Name}",
"description": "{Description}",
"icon": {
"src": "{ImageUrl}"
},
"info": {
"value": "{AverageRating}",
"state": "{= ${AverageRating} > 3.5 ? 'Success' : 'Warning' }"
}
},
"maxItems": "{{parameters.maxItems}}"
}
},
"sap.platform.mobilecards": {
"compatible": false
}
}
Any questions would help me.
Thank you!!
NP
Hi,
i also stuck at same point and unable to preview the card...have you got the solution?
Thanks
DHEER
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.