Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1065

Re: Control with ID idAppControl could not be found - EventProvider sap.ui.core.routing.Target

$
0
0

is the name of your XML view with the SplitApp control named 'routing.view.xml'  and resides in a folder 'routing' under the resource root path?

metadata:{

    routing:{

            config:{

            viewType:"XML",

            viewPath:"dami.fistrout.routing",

            targetControl:"idAppControl",

            clearTarget:false,

            transition:"slide",    

     },



assuming you defined a rootView based on XML the 'viewData' property isn't applicable

  createContent:function () {

     var view = sap.ui.view({

                  id:"app",

                  viewName:"dami.fistrout.routing.routing",

                  type:"XML",

                  viewData:{component:this}

     });

 

please share your index.html too if the above is not true of your view structure.


Viewing all articles
Browse latest Browse all 1065

Trending Articles



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