Hi,
In addition to Maksim´s post I would suggest:
- check the console output in your browsers dev tools
- add the following events to your model to see what´s going on:
oModel.attachMetadataFailed(function() { jQuery.sap.log.debug("metadata failed"); }, this); oModel.attachRequestCompleted(function(oData) { jQuery.sap.log.debug("request completed"); }); oModel.attachMetadataLoaded(function() { jQuery.sap.log.debug("metadata loaded"); });
If event RequestCompleted is called (set a breakpoint; usually it´s called async) and you have data in oData variable and still the UI is empty there is an issue with the binding (syntax).
Best regards,
Sebastian