cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation Between Split App mode and Full screen Mode

former_member210621
Participant
0 Kudos

Greetings Experts,

I am working on SAP Ui5 application where I need to create multiple pages and able to navigate among the pages. I am stuck in a requirement where i need to navigate from master detail mode (display using split app control) btn-1-master-detail-mode.jpg to a page in full screen mode btn-2-full-screen-mode.jpg and vice versa. I am facing some challenges in the routing configuration.

The layout for the screen are attached here. The highlighted are in the screenshot are the different screens and need to achieve the navigation using routing concepts.

Request you to share the routing configuration that can be used to achieve this kind of requirement.

-Thanks

Ketan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member210621
Participant
0 Kudos

Hi,

Here are the below configuration i was trying to do. I am not able to figure out the correct place where I can add new config which will navigate to two different views with fullscreen mode and master-detail mode).

as per this config, master view is displayed with multiple detail views with navigation. Let me know the missing config.

"routing": {
			"config": {
				"routerClass": "sap.m.routing.Router",
				"viewType": "XML",
				"viewPath": "com.mmm.navigate11.view",
				"controlId": "idAppControl",
				"controlAggregation": "detailPages",
				"bypassed": {
					"target": [
						"master",
						"notFound"
					]
				},
				"async": "true"
			},
			"routes": [
				{
					"pattern": "",
					"name": "master",
					"target": [
						"object",
						"master"
					]
				},
				{
					"pattern": "NotifDataSet/{NotifNo}",
					"name": "object",
					"target": [
						"master",
						"object"
					]
				},
				{
					"pattern": "Search",
					"name": "search",
					"target": "search"
				}
			],
			"targets": {
				"master": {
					"viewName": "Master",
					"viewLevel": 1,
					"viewId": "master",
					"controlAggregation": "masterPages"
				},
				"object": {
					"viewName": "Detail",
					"viewId": "detail",
					"viewLevel": 2
				},
				"notFound": {
					"viewName": "NotFound",
					"viewId": "notFound"
				},
				"search": {
					"viewName": "Search",
					"viewId": "search",
					"viewLevel": 1
				}
			}
		}
irfan_gokak
Contributor
0 Kudos

Can u share you routing configuration and targets from Manifest.json file?