Skip to Content
0
Former Member
Mar 12, 2015 at 08:58 AM

How to get reference of sap.m ?

17 Views

Hi all,

How to get reference of "sap.m" through view.js??

If I am passing sap.m like below, there is some UI issue is occurring in other pages .

<script id="sap-ui-bootstrap"
      type="text/javascript"
    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.suite.ui.commons, sap.ui.ux3, sap.ui.table, sap.viz, sap.m">
    <!--   data-sap-ui-language="en"> -->
  </script>

so i would like to pass sap.m to specific view. is it possible? if so please help me to achieve this.