Hi All , Finally thought of writing blog after struggling to create simple o-data service to perform basic operations including media and deep entities. So I don’t want you all to struggle and waste your time… This is for Beginners not for Experts, Create your simple gateway service by following provided steps. Service is all about Employee Information System. Tables Used. 1. Employee Details table[Principle data]Or[Header Information] 2. Employee Contact details(Ph no on working days and on leave)[Line Item] 3. Employee Photo Details. Structures Used [But U can directly use Database tables to include structure to create Data types] 1. Employee Details. 2. Employee Address Info[Include structure in Emp Details table]. 3. Employee Contact details(Info like Contact no during working days and on leave). 4. Employee Photo details. Let's start rock...
Dear, SAPUI5 defined their own way to load external library, not just simple like using <src> tag in index.html. The details can be found here: https://blogs.sap.com/2017/04/30/how-to-include-third-party-libraries-modules-in-sapui5/ ---V---
Hi, Small Tips but no many knows: - Use this.getResouceBundle().getText(sKey, aParam) - Use BaseController (instead of creating a Util service). - Odata Model resetChanges() & submitChanges() ('TwoWay' binding required). Allow TAB to navigate within a table: Use property " keyboardMode " of ListBase . Set it to value " sap.m.ListKeyboardMode.Edit " and it would allow users to use TAB to move to the next cell in a table (the same behavior in MS Office table). API: https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.ListBase/controlProperties https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.ListKeyboardMode/overview References Advanced JS technique to shorten your code: Below hand-on with explanation will help you to shorten your frontend code a lot. Make the code more succinct, readable & easier to maintain. Functional Programming for your UI5 Apps Hands-On Worksheet Keep in mind the mindset: Think "everythin...
Nhận xét
Đăng nhận xét