on 08-26-2015 12:32 PM
Hello Experts,
I'm trying to import the 'sap.ui.comp' library:
<script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m, sap.ui.comp"
data-sap-ui-theme="sap_bluecrystal">
</script>
But when I run the application I get:
GET https://openui5.hana.ondemand.com/resources/sap/ui/comp/library-preload.json 404 (Not Found) sap-ui-core.js:27
2015-08-26 14:27:55 failed to preload 'sap.ui.comp.library-preload': Not Found - sap.ui.ModuleSystem sap-ui-core.js:80
GET https://openui5.hana.ondemand.com/resources/sap/ui/comp/library.js 404 (Not Found) sap-ui-core.js:27
Uncaught Error: failed to load 'sap/ui/comp/library.js' from https://openui5.hana.ondemand.com/resources/sap/ui/comp/library.js: 404 - Not Found sap-ui-core.js:80
2015-08-26 14:27:56 registerResourcePath ('testvaluehelp', './testvaluehelp/') - sap.ui.ModuleSystem
What am I missing? How can I use the ValueHelpDialog control?
Regards,
Omri
change your bootstarf src
src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open UI5 not having that control-OpenUI5 SDK - Demo Kit
SAP UI5 having-SAPUI5 SDK - Demo Kit
Hi Omri,
sap.ui.comp is not available in OpenUI5. To quickly verify this, you can hit the following
urls :
https://openui5.hana.ondemand.com/resources/sap/ui/comp/smarttable/SmartTable.js
This will give 404.
Where as :
https://sapui5.hana.ondemand.com/resources/sap/ui/comp/smarttable/SmartTable.js
will give you the library code.
So change your bootstrap to point to SAPUI5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Omri,
Try with below url :
https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js
Thanks & best regards
Aasif Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.