Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Question about setting routing in manifest.json for splitApp

Hi,

I met a problem about setting routing the manifest.json file for SplitApp.

Following is my code.

"routing": {

      "config": {

        "routerClass": "sap.m.routing.Router",

        "viewType": "XML",

        "viewPath": "***.ui.demo.view",

        "controlId": "splitApp",

        "controlAggregation": ??? // how could i set this value, if the control including two aggregations. such as detailPages and masterPages.

        "transition": "slide"

      },

      "routes": [

        {

          "pattern": "",

          "name": "appHome",

          "target": "home",

          "targetAggregation" : "detailPages"

        },

        {

          "pattern": "",

          "name": "appMasterHome",

          "target": "masterHome",

          "targetAggregation" : "masterPages"

        }

      ],

      "targets": {

        "home": {

          "viewName": "Home",

          "viewLevel": 1

        },

        "masterHome": {

          "viewName": "Home",

          "viewLevel": 1

        }

      }

    }

Hope some one could help me to solve it.

Thank you very much.

Former Member
Not what you were looking for? View more on this topic or Ask a question