Toptube Video Search Engine



Title:Back to basics: OData - the Open Data Protocol - Part 2 - Basic operations
Duration:01:02:35
Viewed:8,428
Published:20-05-2022
Source:Youtube

In this live stream on OData we looked at some basic operations. See the Chapters section below to see what was covered. Head over to our discussion thread on OData here https://groups.community.sap.com/t5/coffee-corner/back-to-basics-odata-your-thoughts-comments-and-questions/td-p/4583 Topics: OData, GraphQL, CDS, CAP, Northwind, UI5 Links: An introduction to OData CSDL Modeler for Visual Studio Code https://blogs.sap.com/2022/05/05/an-introduction-to-odata-csdl-modeler-for-visual-studio-code/ The Back to basics: OData repository: https://github.com/SAP-samples/odata-basics-handsonsapdev JSON Viewer Chrome extension https://chrome.google.com/webstore/detail/json-viewer/aimiinbnnkboelefkjlenlgimcabobli UI5 OData Model V4 https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.model.odata.v4.ODataModel UI5 sap.m.List control https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.List UI5 sap.m.ListBase https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.ListBase Chapters: 00:00 Welcome and introduction 03:25 Picking up where we left off with the repository 08:20 Looking at the Products entityset in our service 12:00 Examining some of the metadata document content details 18:40 Understanding the difference and relationship between an entity and entityset 21:50 Showing the JSON viewer extension I use in Chrome 24:10 A digression where I completely fail to choose the right VS Code extension to install and eventually get help from the chat as to which one is the right one 31:40 Finally getting the right extension installed (the OData CSDL Modeler) to see a great graphical representation of OData metadata 33:25 How to specify the key of an entity to get a single entity, old and new style 34:20 The five OData operations - Create, Read, Update, Delete and Query (CRUD+Q), and the difference between Read and Query 35:30 Looking at our first OData system query options, starting with $top 37:50 A great conversation in the chat about what OData version to use with UI5 freestyle apps 39:40 A brief first look at the $filter system query option, with a simple example 41:45 Starting to take a look at what the OData Model control in UI5 does for us 42:50 A quick explanation of the OData bindings in the XML View and how they work 44:25 Seeing how the OData service is connected to the app in the manifest.json file 47:35 Digging deeper to understand what's going on behind the curtain, via the Chrome Developer Tools 48:15 Examining each of the first two OData calls, a GET request for the $metadata and a HEAD request for CSRF token purposes 51:10 Staring hard at the $batch request, what it is, why it exists, and what's inside it 55:55 Turning off the bundling of requests with $batch, by changing the value of the groupId to $direct 57:15 Reloading the app and seeing the OData query operation as a "first class" HTTP request 57:30 Examining the query string parameters, which contain three OData system query options $select, $skip and $top 58:50 A quick use of $count to request a metadata property in the response showing the count of entities returned 1:00:20 A very brief look at the growing feature of the sap.m.List control and what it does to the OData operations performed (chunk default size of 20 from the sap.m.ListBase's growingThreshold property)



SHARE TO YOUR FRIENDS


Download Server 1


DOWNLOAD MP4

Download Server 2


DOWNLOAD MP4

Alternative Download :