Skip to Content
avatar image
Former Member

SAPUI5 Bootstrapping Viz Library

Hi all,

I was wondering how to include the sap.viz libraries in my bootstrap when all my other libraries are stored locally. I cannot seem to find the sap.viz library available for download, and I don't know how to use both local and URL libraries together .

Current Bootstrap:

<script type="text/javascript" id="sap-ui-bootstrap" src="./assets/sapui5/sap-ui-core-all.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.ui.commons, sap.ui.ux3, sap.ui.table, sap.m" data-sap-ui-xx-bindingSyntax="complex"> </script>

Above does not contain "sap.viz" locally, so I cannot access it, however I need these to remain local.

How would I add sap.viz to this?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 02 at 02:48 AM

    <script type="text/javascript" id="sap-ui-bootstrap" src="./assets/sapui5/sap-ui-core-all.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.ui.commons, sap.ui.ux3, sap.ui.table, sap.m, sap.viz" data-sap-ui-xx-bindingSyntax="complex"> </script>

    libraries defined in data-sap-ui-libs property will be loaded by SAPUI5 framework automatically. Try add sap.viz in there.

    Add comment
    10|10000 characters needed characters exceeded

    • Maybe you could check the existance of library-all.js on the SAPUI5 resource URL dictionary. All official SAPUI5 library consist of library-all.js. What's the version of SAPUI5 deployed on your environment?

  • Mar 01 at 10:26 AM

    Hi,

    Add src= "https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"

    see below code:

    <script type="text/javascript" id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.ui.commons, sap.ui.ux3, sap.ui.table, sap.m, sap.viz" data-sap-ui-xx-bindingSyntax="complex"> </script>

    Add comment
    10|10000 characters needed characters exceeded