on 05-28-2013 9:49 AM
Hi all,
I am trying to implement sap.viz chart in my UI5 application.
While the error message is clear that it is failing to load the sap.viz library, I am not able to determine how to fix it.
Any pointers?
Thanks and regards,
Kapil.
In the index file in bootstrap script did you add
data-sap-ui-libs = "sap.ui.commons,sap.viz
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your replies.
I have tried updating the index file with 'sap.viz' in the bootstrap script.
I get following error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3)
Timestamp: Wed, 29 May 2013 10:44:18 UTC
Message: found in negative cache: 'sap.viz.library' from ./resources/sap/viz/library-preload.json/sap.viz.library: Error: found in negative cache: 'sap.ui.thirdparty.d3' from ./resources/sap/ui/thirdparty/d3.js: TypeError: Object doesn't support this property or method
Line: 70
Char: 1
Code: 0
URI: http://localhost:61800/SITMIL/resources/sap-ui-core.js
Hi Frank,
How and where can I check the version of SAPUI5? I am using plugin integrated with SAP NWDS.
Please let me know.
Thanks for replying guys. Appreciate your time.
regards,
Kapil.
Hi Kapil,
I'm working with Eclipse Juno. There you can find the SAPUI5 version via the menu "Help -> About Eclipse". Then you will see a pop-up with a button "Installation Details". If you press this button, you get a list with the installed software. There you should be able to find SAPUI5 Runtime with version information.
If you replace the value of the attribute src in the bootstrap with "src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js", which points to the current (1.12?) version, do you still get the error above?
Regards, Frank
Ok.
From where can I get this latest version?
I had got the current version set-up files from a colleague.. I guess I got to connect to service marketplace and download the version. Am I right? else advise the best feasible way to do this.
Thanks for replying to me, Frank.
You have been great help.
Regards,
Kapil.
Hi Kapil,
yes, the service marketplace is one option. If you are "just trying things out" you might as well choose the Evaluatoin Package which you can find on the start page of this space.
Regards, Frank
It works with
In the index file in bootstrap script did you add
data-sap-ui-libs = "sap.ui.commons,sap.viz
However, running as Fiori Sandbox mode using Component.js has still error. I am running with Personal WedIDE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.