on 08-04-2022 9:29 AM
Hi All,
I an a newbie in SAPUI5, desperately need your guidance.
I have done the manifest config as per below code snippet.
{
"_version": "1.12.0",
"sap.app": {
"id": "sampleCoreElements.sampleCoreElements",
"type": "application",
"i18n": "i18n/i18n.properties",
"applicationVersion": {
"version": "1.0.0"
},
"title": "{{appTitle}}",
"description": "{{appDescription}}",
"sourceTemplate": {
"id": "ui5template.basicSAPUI5ApplicationProject",
"version": "1.40.12"
},
"dataSources": {
"optionForUsersDataSrc": {
"uri": "model/data.json",
"type": "JSON"
}
}
},
"sap.ui": {
"technology": "UI5",
"icons": {
"icon": "",
"favIcon": "",
"phone": "",
"phone@2": "",
"tablet": "",
"tablet@2": ""
},
"deviceTypes": {
"desktop": true,
"tablet": true,
"phone": true
}
},
"sap.ui5": {
"flexEnabled": false,
"rootView": {
"viewName": "sampleCoreElements.sampleCoreElements.view.app",
"type": "XML",
"id": "app"
},
"dependencies": {
"minUI5Version": "1.65.6",
"libs": {
"sap.ui.layout": {},
"sap.ui.core": {},
"sap.m": {}
}
},
"contentDensities": {
"compact": true,
"cozy": true
},
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "sampleCoreElements.sampleCoreElements.i18n.i18n"
}
},
"optionForUsers": {
"type": "sap.ui.model.json.JSONModel",
"dataSource": "optionForUsersDataSrc"
}
},
"resources": {
"css": [{
"uri": "css/style.css"
}]
},
"routing": {
"config": {
"routerClass": "sap.m.routing.Router",
"viewType": "XML",
"async": true,
"viewPath": "sampleCoreElements.view",
"controlAggregation": "pages",
"controlId": "app"
},
"routes": [{
"name": "home",
"pattern": "",
"target": "home"
}],
"targets": {
"home": {
"viewName": "homePage",
"viewLevel": 1
}
}
}
}
}
I am getting error as follows:
"Check for 'file not found' or parse errors".
he following error occurred while displaying routing target with name 'home': Error: resource sampleCoreElements/view/homePage.view.xml could not be loaded from resources/sampleCoreElements/view/homePage.view.xml. Check for 'file not found' or parse errors. Reason: -
Could you please suggest on this.
Thanks in advance.
Darshan Panchal.
"viewPath": "sampleCoreElements.sampleCoreElements.view",
change the viewpath for your manifest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
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.