Hi,
We are trying to extend a Fiori project using the Fiori extension toolkit.
We are trying to use a sap.ui.commons component (Panel) and it is not letting us due to reference errors.
First we tried this:
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
xmlns:com="sap.ui.commons" xmlns="sap.m" xmlns:ui="sap.ui.layout"
controllerName="cus.crm.opportunity.view.S4" xmlns:ca="sap.ca.ui"
xmlns:html="http://www.w3.org/1999/xhtml">
....
<com:Panel>
<content>
<Table>
blah
</Table>
</content>
</com:Panel>
....
</core>
We get an error failed to load sap.m library
Then we tried to change the Component.js to reference sap.ui.commons:
- cus.crm.opportunity.Component
.extend(
"abc.crm.opportunity.CRM_OPPRTNTY_Extension.Component",
{
metadata : {
dependencies : {
libs : ["sap.ui.commons"],
components : []
},
The problem still exist.
Any ideas?
Tags edited by: Michael Appleby