Skip to Content

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

Lumira/Web IDE - Reference to javascript libraries

Hello there,

My sincere apology if I am posting this question on the wrong category.

I am new to Lumira and SAP Web IDE and I am developing some visualization extensions for my office. I am currently working on a Chord Diagram, like the one provided on this web site: http://www.delimited.io/blog/2014/11/18/interactive-chord-diagrams-in-d3. My question is, how can you reference any exterior libraries within your project, such as d3js.org etc. The chart from the link above references them with the <script> tag . How can I reference any libraries within the project? If there a place where I can add the library to my project?

Thank you for assisting me.

Kind regards,

Yuriy K.

Tags:
Former Member
replied

Hi Yuriy,

For referencing other external libraries, you can do as Rahul suggested. There is also a blog on Using External Resources when building SAP Lumira Viz Extensions in SAP Web IDE

However, for the D3.js library, you don't need to reference it at all because in Web IDE, D3.js is inbuilt (up to v3) so you'll be good with using D3 in a Lumira viz project.

Thanks,

Annie

0 View this answer in context

Helpful Answer

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