cancel
Showing results for 
Search instead for 
Did you mean: 

Demo Model UI5 Issue

Former Member
0 Kudos

Hi All

I have i imported the sap ui5 delivery unit into my system and when i was looking at the ui5 folders all the view components are in .xml where as all the tutorials are talking about .js but the controller is in .js format -

I have followed a tutorial

Tutorial: Consume an OData Service from SAPUI5 - SAP HANA Interactive Education - SAP Library

I get an empty layout which says no data -Please see attachments

when i do the entire list i.e loop with meta daa -last part in above document i don't even see the blank table all is see is a blank screen

Currently i'm on sp10

Thanks

Demo Example Project

Thanks in Adv

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183518
Active Participant
0 Kudos

Yes, the tutorial looks quite outdated. SHINE's ( demo content) views were initially developed in JS and later migrated to XML following recent guidelines. But somehow still the tutorial haven't been updated on the same!  I believe that's something    can check it out.


As per the tutorial, you seem to be using 'salesOrders.xsodata' and the odata ends up failing when trying to access an expanded property passed via $select. First try hitting the 'salesOrders.xsodata/SalesOrderHeader'  directly via browser to check if the odata works.


RameshShrestha
Contributor
0 Kudos

Hi Hari,

It seems you are binding some property which is not returned by the service call you have made.

Check in network tab  , the service which has been triggered and see the response.