SAPUI5 can either be loaded relatively from a Web server or externally from a Content Delivery Network (CDN).
OpenUI5: https://openui5.hana.ondemand.com/resources/sap-ui-core.js
SAP HANA Cloud Platform: (https://sapui5.hana.ondemand.com/resources/sap-ui-core.js)
If you want to use the CDN version, you can use the following bootstrap scripts:
SAP HANA Cloud Platform |
OpenUI5 |
---|---|
<script id="sap-ui-bootstrap" type="text/javascript" src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m"></script> |
<script id="sap-ui-bootstrap" type="text/javascript" src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m"></script> |
If you want to make sure that you refer to a stable version, you can use a versioned URL as in the example below:
SAP HANA Cloud Platform |
OpenUI5 |
---|---|
<script id="sap-ui-bootstrap"
type="text/javascript"
src="https://sapui5.hana.ondemand.com/1.28.8/resources/sap-ui-core.js"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-libs="sap.m"></script>
|
<script id="sap-ui-bootstrap"
type="text/javascript"
src="https://openui5.hana.ondemand.com/1.28.8/resources/sap-ui-core.js"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-libs="sap.m"></script>
|
The first segment of the URL after the host name is used to specify a concrete version.
Check the available versions with respective maintenance status at https://sapui5.hana.ondemand.com/versionoverview.html and https://openui5.hana.ondemand.com/versionoverview.html.
The SAPUI5 maintenance strategy for SAP HANA Cloud Platform is available in this document.