on 10-08-2018 9:17 PM
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
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sharath.
Thank you for helping me.
I am following the walkthrough (that you mentioned above) and the openSAP course and that's why i have some questions about bootstrapping.
I think i found the answer for almost everything HERE, but in most cases i can't find the possible values. For example: where can i find all the possible standard values for the attribute "data-sap-ui-theme"?
In the demo kit tools i found these themes below, but it doesn't have the technical name that i must use in the attribute:
Thank you.
Vitor
Hi Vitor,
Regarding theme technical name (ID), I think this link will help.
https://sapui5.hana.ondemand.com/#/topic/38ff8c27b022475a92b591bcf6262551
Binh
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.