Skip to Content

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

I want to include d3 as a resource, but SAPUI5 on HANA cannot resolve it


I have 2 javascript files in the same directory as the index.html file under WebContent running on HANA. But despite using

createContent : function(oController) {"d3");"");


I get

GET 404 (Not Found)

sap-ui-core-dbg.js:8103 GET 404 (Not Found)

sap-ui-core-dbg.js:14438 Uncaught Error: failed to load 'd3.js' from /sap/ui5/1/resources/d3.js: 404 - Not Found

I also tried locating both these d3 javascript files the directory 'util' and added this

var app = new sap.m.App({initialPage:"testui5"});


This got the same error message.

So how do you use other javascript resources in your app?

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