cancel
Showing results for 
Search instead for 
Did you mean: 

Error 404 not Found Destination in UI Integration Cards

nelsonpardo
Discoverer

Hi,

I am trying to create a UI Integration Cards from BAS following the step by step of the following tutorial:

https://developers.sap.com/tutorials/appstudio-sapui5-integrationcard-create.html#47c9d192-b9ac-4c50...

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

View Entire Topic
Dheerendra
Participant
0 Kudos

Hi,

i also stuck at same point and unable to preview the card...have you got the solution?

Thanks

DHEER

nelsonpardo
Discoverer
0 Kudos

Hi Dheer,

I still don't have the solution.

NP