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

Re: Calling specific view of a component in different fiori apps.

$
0
0

Hi Jun Wu,

 

Below is the code,

 

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

                        name: "NameSpace",

                        url: "UrlToMyTheComponent",                      

                        componentData : {

                             "targetViewName" : "Display"

                             }

                    });

                    this.oCompContainer = new sap.ui.core.ComponentContainer("oCompEdit", {

                        component: this.oComp,

                        propagateModel: true,

                        height: "50%"

                    });

                    this.oCompContainer.placeAt(this.getView().byId("id"));

 

Is there something missing?


Viewing all articles
Browse latest Browse all 3585

Trending Articles



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