Skip to Content

Component reusability

Hi,

i have a custom UI5 application with index.html ( for example 'Parentapplication'). now i have to call another UI5 application which does not have index.html ( for example 'childapplication') from parent application based on triggering of an event ( for example button click in parent application ) .please let me know how to call child application using

component container concept .

iam calling the child app from parent app as below.

Component.js of the child app is under the folder 'Mycomponent'

jQuery.sap.registerModulePath("Mycomponent", "/Mycomponent")

var oComp = sap.ui.getCore().createComponent( {

name : "Mycomponent",

id : "Comp",

url : "Mycomponent",

componentData : { "targetViewName" : "Mycomponent.view.items" }

Regards,
Sarath

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers