on 01-25-2017 10:15 AM
Hello, deploying my application on Fiori launchpad I found the following errors:
Error in application dependency 'sap.ui.core': 'No descriptor was found'
Error in application dependency 'sap.m': 'No descriptor was found'
Error in application dependency 'sap.ui.layout': 'No descriptor was found'
In the manifest.json file, I declared the following dependencies:
"dependencies": {
"minUI5Version": "1.34.0",
"libs": {
"sap.ui.core": {
"minVersion": "1.34.0"
},
"sap.m": {
"minVersion": "1.34.0"
},
"sap.ui.layout": {
"minVersion": "1.34.0"
}
}
},
Could someone help me?
Thanks.
This issue is caused when your namespace ID, as specified in manifest.json is different from the ID attribute of your tile in launchpad configuration.
I resolved my issue by making sure the "id" attribute in the manifest.json matches the ID of the tile configured in Launchpad:
manifest.json:
This should be the same as the tile definition in launchpad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we are facing the same issues. Any solution on this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Even I am facing the same issue. Any help is much appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roberto,
Can you just show your whole manifest , might be you are missing other config.
thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{
"_version": "1.3.0",
"sap.app": {
"_version": "1.3.0",
"id": "com.roberto",
"type": "application",
"i18n": "i18n/i18n.properties",
"applicationVersion": {
"version": "1.0.0"
},
"title": "{{appTitle}}",
"description": "{{appDescription}}",
"sourceTemplate": {
"id": "ui5template.basicSAPUI5ApplicationProject",
"version": "1.38.11"
}
},
"sap.ui": {
"_version": "1.3.0",
"technology": "UI5",
"deviceTypes": {
"desktop": true,
"tablet": true,
"phone": true
},
"supportedThemes": [
"sap_bluecrystal"
]
},
"sap.ui5": {
"_version": "1.2.0",
"rootView": {
"viewName": "com.roberto.view.CollectionBoard",
"type": "XML"
},
"dependencies": {
"minUI5Version": "1.34.0",
"libs": {
"sap.ui.core": {},
"sap.m": {},
"sap.ui.layout": {}
}
},
"contentDensities": {
"compact": false,
"cozy": true
},
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "com.roberto.i18n.i18n"
}
},
"CollectionTree": {
"type": "sap.ui.model.json.JSONModel",
"uri": "model/prdt_collections_tree.json"
}
},
"resources": {
"css": [
{
"uri": "css/custom.css"
}
]
},
"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"viewPath": "com.roberto.view",
"controlId": "collboard",
"controlAggregation": "pages",
"bypassed": {
"target": "notFound"
}
},
"routes": [
{
"pattern": "",
"name": "collections",
"target": "TargetCollections"
},
{
"pattern": "detail/{collectionPath}",
"name": "RouteDetails",
"target": "TargetDetails"
},
{
"pattern": "AddCollection",
"name": "RouteAdd",
"target": "TargetAdd"
}
],
"targets": {
"TargetCollections": {
"viewName": "CollectionBoard",
"viewType": "XML",
"viewLevel": 1
},
"TargetDetails": {
"viewName": "CollectionDetails",
"viewType": "XML",
"viewLevel": 2
},
"TargetAdd": {
"viewName": "AddCollection",
"viewType": "XML",
"viewLevel": 2
},
"notFound": {
"viewName": "NotFound",
"transition": "show"
}
}
}
},
"sap.platform.hcp": {
"uri": "webapp",
"_version": "1.1.0"
}
}
Can you just compare your manifest with this ... this is a working manifest ..
{ "_version": "1.4.0", "sap.app": { "id": "masterdetail", "type": "application", "i18n": "i18n/i18n.properties", "title": "{{appTitle}}", "description": "{{appDescription}}", "applicationVersion": { "version": "1.0.0" }, "dataSources": { "mainService": { "uri": "/northwind/V3/northwind/northwind.svc/", "type": "OData", "settings": { "odataVersion": "2.0", "localUri": "localService/metadata.xml" } } }, "sourceTemplate": { "id": "sap.ui.ui5-template-plugin.2masterdetail", "version": "1.38.13" } }, "sap.ui": { "technology": "UI5", "icons": { "icon": "sap-icon://detail-view", "favIcon": "", "phone": "", "phone@2": "", "tablet": "", "tablet@2": "" }, "deviceTypes": { "desktop": true, "tablet": true, "phone": true }, "supportedThemes": [ "sap_hcb", "sap_bluecrystal" ] }, "sap.ui5": { "rootView": { "viewName": "masterdetail.view.App", "type": "XML", "id": "app" }, "dependencies": { "minUI5Version": "1.38.0", "libs": { "sap.ui.core": { "minVersion": "1.38.0" }, "sap.m": { "minVersion": "1.38.0" } } }, "contentDensities": { "compact": true, "cozy": true }, "models": { "i18n": { "type": "sap.ui.model.resource.ResourceModel", "settings": { "bundleName": "masterdetail.i18n.i18n" } }, "": { "dataSource": "mainService", "preload": true } }, "routing": { "config": { "routerClass": "sap.m.routing.Router", "viewType": "XML", "viewPath": "masterdetail.view", "controlId": "idAppControl", "controlAggregation": "detailPages", "bypassed": { "target": [ "master", "notFound" ] }, "async": true }, "routes": [ { "pattern": "", "name": "master", "target": [ "object", "master" ] }, { "pattern": "Customers/{objectId}", "name": "object", "target": [ "master", "object" ] } ], "targets": { "master": { "viewName": "Master", "viewLevel": 1, "viewId": "master", "controlAggregation": "masterPages" }, "object": { "viewName": "Detail", "viewId": "detail", "viewLevel": 2 }, "detailObjectNotFound": { "viewName": "DetailObjectNotFound", "viewId": "detailObjectNotFound" }, "detailNoObjectsAvailable": { "viewName": "DetailNoObjectsAvailable", "viewId": "detailNoObjectsAvailable" }, "notFound": { "viewName": "NotFound", "viewId": "notFound" } } } }, "sap.platform.hcp": { "uri": "webapp", "_version": "1.1.0" } }
Hello Roberto
Is the minVersion necessary? What happens if you leave it out like this:
"dependencies": {
"minUI5Version": "1.34.0",
"libs": {
"sap.ui.core": { },
"sap.m": { },
"sap.ui.layout": { }
}
},
Hope this helpsAntonette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.