Skip to Content
Author's profile photo Christian Geyer

UI5ers Buzz #25: The New OData V4 Tutorial

Have you been curious about using OData V4 services in your UI5 applications? Starting with release 1.54, the UI5 documentation will come with a new tutorial about using OData V4. If you do not want to wait that long, you can take a peak in the openUI5 Nightly.

The tutorial will take you on a journey through building a simple application with data from an OData V4 service. You will start with something that merely displays some data and step by step turn it into an application for filtering, sorting, changing, creating and deleting data.

Along the way, you will see the above and several other aspects of working with OData V4 in action:

  • Data access and client-server communication
  • Automatic data type detection
  • Filtering, sorting, and counting
  • Batch groups
  • Create and edit
  • Delete
  • OData operations

Version 4 of OData comes with a long list of improvements, for example improved options for accessing and modifying data. You can scan through all the changes in great detail in the change log.

Previous post: UI5ers Buzz #24


Christian builds internal UI5 applications at SAP in his regular job. During a fellowship in UI5 development, he had the opportunity to help build this new tutorial.


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Christoph John
      Christoph John

      Great tutorial.

      I am currently trying to build an application with the odata.v4 model and I am permanently running into the situation that I need to access the odata from javascript without having the odata bound to a view or without having access to the bound view. This holds for example for situations were I need configuration data from my app in a custom data type to do input validation, in places where I initialize data structures which are internal to the app but should not be visible to the user, etc. Currently, I have not found any information from the tutorial or sapui5 documentation on how I could handle these situations with the odata v4 model and therefore need to replicate this logic with ajax or by copying structures and holding them in sync manually, which is a petty when having the odata model in place. I understand that the odata v4 model in contrast to the v2 model is made to just be used with bindings. However, it is not trivial without a decent description how such bindings without UI elements can be use in javascript functions. It would be great, if you could also show in the tutorial, how the model can be used from javascript without having ui elements bound to the model, but by binding other data structures to the model to access these data. Thanks for the great tutorial!