Quantcast
Channel: SCN : All Content - SAP Fiori
Viewing all articles
Browse latest Browse all 1807

Fiori app navigation from full screen app et SplitApp

$
0
0

Hi all,

I am setting up an application in whiche there is a first screen for selection that then take you to a Master/detail screen.

I configured my routing like this in manifest.json :

"routing": {

   "config": {

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

  "viewType": "XML",

  "viewPath": "SD2.view",

  "controlId": "app",

  "targetAggregation": "pages"

   },

   "routes": [

  {

   "pattern": "",

   "name": "main",

   "view": "main",

   "targetAggregation": "pages",

          "targetControl" : "app"

  },

 

 

  {

   "pattern": "splitScreen",

   "name": "split",

   "view": "SplitApp",

   "targetAggregation": "pages",

          "targetControl" : "app",

   "subroutes" :[

       {

            "pattern" : "splitScreen",

                 "name" : "master",

                 "view" : "Master",

                 "targetAggregation" : "masterPages",

                 "targetControl" : "SplitIt",

            "subroutes" : [

                {  

                     "pattern" : "splitScreen",

                     "name" : "detail",

                     "view" : "Detail",

                     "targetAggregation" : "detailPages",

                     "targetControl" : "SplitIt"

                }

          ]  

         }

        ]}

        ]

 

The problem is that I get a message when SplitApp is shown :

Control with ID SplitIt could not be found - EventProvider sap.ui.core.routing.Target

The Master View is correctly rendered on screen but the detail is totally empty ...

Would anyone have an idea ?

Regards,

Ncolas

 

   

}


Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>