Skip to Content
Former Member
Nov 05, 2014 at 10:55 AM

how to modularise or extend sapui5 UIcomponent



I am trying to build a mobile application and i am using navigation and routing for switching between my views.

since my app has many view using single component becomes bulky.So i want to modularise that by loading additional routes to my component when needed.

I went through the which shows how to extend the components (page no.306-308),by doing so i was able to get data of my parent component but could not add additional routes to it..😭

So i thought of having two different components which is shown in my attachment...

problem is i cannot directly navigate to the view corresponding to my subComponent since every time the browser loads my application it starts main component and not my subComponent and my main component cannot recognize the routes of my subComponent.Hence bookmarking doesn't work.

Is there any way how to communicate between components???

my goal is to modularise my component...

It would be a great help if any one knows or understands my problem and solution for it...

Also suggest if there is any problems in my application structure and any changes to be made...

I am sorry for my long question😭


Ajaay krishna


appStructure.jpg (167.5 kB)