Archived discussions are read-only. Learn more about SAP Q&A

Significance of id sap-ui-bootstrap in the bootstrap

Hi All,

I am a newbie to OpenUI5

In the script below:

<script

  id="sap-ui-bootstrap"  

  src="resources/sap-ui-core.js"

  data-sap-ui-libs="sap.ui.commons"

  data-sap-ui-theme="sap_goldreflection" >

   </script>


What is the significance of the id = "sap-ui-bootstrap"


I mean how does it impact the bootstrap.


I ran samples well with different ids too.


Thanks in advance..


-Amjad

  • SAP Moderator
replied

Hi Amjad,

From my point of view,


sap-ui-bootstrap - > Naming Convention . It conveys that the loading of the script bootstraps the application.

Giving the id, now will also let them have the control of the script tag to be accessible from the framework.

Regards

Sakthivel

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question