Skip to Content
0

load detail view in index.html

Jan 24, 2017 at 03:50 PM

60

avatar image

Hello,

I'm developing master detail sapui5 application.

i want to see the details of the first item in the master by default when i run the application, without the need of select it.

I guess i should load the detail view in the index , but it does not work .

This is my code in index :

sap.ui.getCore().attachInit(function() {
            	var shell =  new sap.m.Shell({
                    app: new sap.ui.core.ComponentContainer({
                        name: "sap.hana.Index_application"
                    }),
                    
                   
                }).placeAt("content");
            	
                	
            });
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Jan 24, 2017 at 04:52 PM
1
Show 2 Share
10 |10000 characters needed characters left characters exceeded

I don't find the code please!

0

F12

...............

0