Skip to Content

Help with bootstrap attributes

Hello community.

I started learning SAPUI5 following the steps from the basic openSAP course, and i have some doubts regarding the bootstrap and its configuration attributes.

The examples in the course were very explanative, but i can't find all possible options that i could use in the bootstrap script. In the Demo kit Bootstrapping i found a lot of very good information, but i couldn't find all the possible attributes and its possible values.

I can tell that attributes like "data-sap-ui-theme" or "data-sap-ui-libs" are used everytime.
The question is: where can i search for all attributes, its particularities and its possible values for bootstrapping?


Thank you in advance.

Vitor

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 09, 2018 at 08:25 AM

    Check this link: https://openui5.hana.ondemand.com/#/topic/fe12df2e338e43598977d09f3d191b7b

    <!DOCTYPE html>
    <html>
       <head>
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta charset="utf-8">
     	<title>Walkthrough</title>
          <script
             id="sap-ui-bootstrap"
             src="/resources/sap-ui-core.js" 
             data-sap-ui-theme="sap_belize"
             data-sap-ui-libs="sap.m"
             data-sap-ui-compatVersion="edge"
             data-sap-ui-preload="async" >
          </script>
          <script>
             sap.ui.getCore().attachInit(function () {
                 alert("UI5 is ready");
             });
          </script>
       </head>
       <body>
          <p>Hello World</p>
       </body>
    </html>
    
    


    Add comment
    10|10000 characters needed characters exceeded