Skip to Content
avatar image
Former Member

load detail view in index.html


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"
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer