Skip to Content
author's profile photo Former Member
Former Member

failed to load 'sap.viz.ui5.library' from ./resources/sap/viz/ui5/library.js: 404 - Resource could not be found!

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on May 29, 2013 at 10:37 AM

    In the index file in bootstrap script did you add

    data-sap-ui-libs = "sap.ui.commons,sap.viz

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 29, 2013 at 07:21 AM

    Hi Kapil,

    are you using the most current UI5 version?

    I've attached a small example for using the sap viz library. If you create a new SAPUI5 project and use the content of this file as "index.html" you should be able to see the result. I hope this helps.

    Regards, Frank


    sap_viz.txt.zip (892 B)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 03, 2019 at 06:44 PM

    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.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.