cancel
Showing results for 
Search instead for 
Did you mean: 

Check for 'file not found' or parse errors.

0 Kudos

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.

View Entire Topic
junwu
Active Contributor
0 Kudos
"viewPath": "sampleCoreElements.sampleCoreElements.view",

change the viewpath for your manifest

0 Kudos

hi jun,

thanks for your time..

Could you please tell what should I write in there.

Thanks

Darshan

junwu
Active Contributor
0 Kudos

dude, already give you the correct one. please check it.

0 Kudos

Hi Jun Sir,

Please accept to mentor me further.

I am planning to learn SAPUI5.

I have already worked on fiori configuration and launchpad service project but do not have that much exposure in UI5 development.

Kindly guide me further.

Thanks,
Darshan