Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182048
Active Contributor
14,687

Over the last couple of weeks various developers have contacted me asking me if i knew of a simple mobile SAPUI5 example which used both the ODataModel and the BlueCrystal theme. I have built one and thought i would share it with everyone.

The app uses the Northwind OData Service and showcases some of the sap.m and sap.me features like the sap.m.App, sap.m.Shell and sap.me.TabContainer, all up approximately 100 lines of code.

You can find the source on github

https://github.com/jasper07/sapui5bin/blob/master/OData_BlueCrystal.html

UPDATE:

I have created a copy of the sample application that uses Declaritive HTML, similar amount of code, should be handy for those starting to develop with the HTML View, a couple of the expression took some trial and error

https://github.com/jasper07/sapui5bin/blob/master/OData_BlueCrystal_Declaritve.html

Also this morning the Northwind OData Service was down so I was working off the Mock Northwind OData Service provided in the SAPUI5 SDK.

Both versions have been updated to allow data to be read from the fake service.

This also means the application can be tested online without SOP issues

http://jsbin.com/udeqev/1/

http://jsbin.com/udeqev/1/edit code

11 Comments
Labels in this area