Tag: sapui5
-
How to use the setting URL Hash Fragment in SAP Web IDE?
You may have asked yourself, how to use this setting “URL Hash Fragment” in the run configurations, where you can set settings for your test environment. The question mark icon next to it, does unfortunately not really describe what to do. So therefore, I have tested it myself and found out, that it always must…
-
The different count modes in SAPUI5
In the UI5 framework, we do differ how we want to setup the count requests, when an OData service gets called. The mode how this count should be sent and retrieven, can be set in the manifest.json file. Therefore we can set the following options: Count mode Description Inline Count is retrieved by adding $inlinecount=allpages to data…
-
How to make an App-To-App Navigation with a specific route in SAP Fiori Launchpad?
If you want to open a specific route from your SAPUI5 application to open another application within the Fiori Launchpad (FLP), you might wonder how to do this with the CrossApplicationNavigation service? Well, the parameters, which can be sent through the method toExternal, are not clearly documented. Although there are possibilities to set the route…
-
Fetch an empty structure of an entity in an OData service
Did you asked yourself, how to get an empty structure, with empty strings and booleans set to false from your OData service to use it later in a local JSON model. To achieve this, we need here again the service metadata from our OData model. Test case To test our code from above, we have…
-
Fetch a JSON meta structure from an entity of an OData service in SAPUI5
I recently had to fetch a complete structure of an entity in my OData service to get the labels and attribute type like Edm.DateTime etc. Please note that this tutorial only has been tested with an OData V2 service. This allows you to works with large entities for example to handle an Excel export function,…