sapui5

smartfield annotation - valuehelp dropdown - does not show description

放肆的年华 提交于 2021-01-07 03:17:59
问题 I have a problem where the smartfield (build in xml view using WebIDE) does not show the description of the key field instead just shows the key field in both the dropdown list columns. example : 1(1) and the expectation is 1( local tax ) . My service is built using tcode : SEGW and using WebIDE to develop the ui and annotation for the dropdown as a fixed list. I see a solution smartfield annotation - valuehelp dropdown , but I am unable to add the sap:text to my service in SEGW. Problem :

smartfield annotation - valuehelp dropdown - does not show description

坚强是说给别人听的谎言 提交于 2021-01-07 03:17:26
问题 I have a problem where the smartfield (build in xml view using WebIDE) does not show the description of the key field instead just shows the key field in both the dropdown list columns. example : 1(1) and the expectation is 1( local tax ) . My service is built using tcode : SEGW and using WebIDE to develop the ui and annotation for the dropdown as a fixed list. I see a solution smartfield annotation - valuehelp dropdown , but I am unable to add the sap:text to my service in SEGW. Problem :

smartfield annotation - valuehelp dropdown - does not show description

删除回忆录丶 提交于 2021-01-07 03:16:39
问题 I have a problem where the smartfield (build in xml view using WebIDE) does not show the description of the key field instead just shows the key field in both the dropdown list columns. example : 1(1) and the expectation is 1( local tax ) . My service is built using tcode : SEGW and using WebIDE to develop the ui and annotation for the dropdown as a fixed list. I see a solution smartfield annotation - valuehelp dropdown , but I am unable to add the sap:text to my service in SEGW. Problem :

Why the navigation to TwoColumnsMidExpanded does not work?

自作多情 提交于 2021-01-07 03:01:28
问题 I have created an app based on Flexible Column Layout. The landing page looks as follows: When the button Go to master detail is clicked, then it should route to /overview page with TwoColumnsMidExpanded. The press handler is defined as follows: onPress: function (evt) { this.oRouter.navTo("overview", { layout: fioriLibrary.LayoutType.TwoColumnsMidExpanded }); } The source can be found on https://github.com/softshipper/fcl. 回答1: passing the name of the layout via routing parameters just does

Why the navigation to TwoColumnsMidExpanded does not work?

核能气质少年 提交于 2021-01-07 03:01:10
问题 I have created an app based on Flexible Column Layout. The landing page looks as follows: When the button Go to master detail is clicked, then it should route to /overview page with TwoColumnsMidExpanded. The press handler is defined as follows: onPress: function (evt) { this.oRouter.navTo("overview", { layout: fioriLibrary.LayoutType.TwoColumnsMidExpanded }); } The source can be found on https://github.com/softshipper/fcl. 回答1: passing the name of the layout via routing parameters just does

UI5 performance parameters: data-sap-ui-preload vs. data-sap-ui-async

橙三吉。 提交于 2021-01-03 06:53:47
问题 Different SAPUI5 performance guidelines mention two key parameters, which seem to have similar nature, but slightly different explanation: data-sap-ui-preload="async" The most important setting here is data-sap-ui-preload="async" . This enables the runtime to load the modules for all declared libraries asynchronously in the background. This reduces the amount of requests sent by the client that could block each other. data-sap-ui-async="true" The most important setting is data-sap-ui-async=

How to avoid “Synchronous XMLHttpRequest on the main thread” warning in UI5?

此生再无相见时 提交于 2020-12-11 00:57:36
问题 I'm staring my UI5 with the following bootstrapping in index.js : sap.ui.define([ "sap/m/Shell", "sap/ui/core/ComponentContainer" ], (Core, Shell, ComponentContainer) => { "use strict"; new Shell("", { app: new ComponentContainer("", { height: "100%", name: "webapp" }), appWidthLimited: false }).placeAt("content"); }); According to the UI5 documentation: Static dependencies are loaded in the dependency declaration array of the sap.ui.define call. These dependencies are always loaded in

How to avoid “Synchronous XMLHttpRequest on the main thread” warning in UI5?

给你一囗甜甜゛ 提交于 2020-12-11 00:46:55
问题 I'm staring my UI5 with the following bootstrapping in index.js : sap.ui.define([ "sap/m/Shell", "sap/ui/core/ComponentContainer" ], (Core, Shell, ComponentContainer) => { "use strict"; new Shell("", { app: new ComponentContainer("", { height: "100%", name: "webapp" }), appWidthLimited: false }).placeAt("content"); }); According to the UI5 documentation: Static dependencies are loaded in the dependency declaration array of the sap.ui.define call. These dependencies are always loaded in

“Modules that use an anonymous define() call must be loaded with a require() call”

萝らか妹 提交于 2020-12-10 08:35:31
问题 In the walkthrough step 7: JSON Model example, the app apparently works as documented but I see the following error in the console: Error: Modules that use an anonymous define() call must be loaded with a require() call; they must not be executed via script tag or nested into other modules. The only other instance of this message that I could find seems, to my untrained eye, to deal with a wholly different scenario. I've tried both Firefox and Chromium, CDN hosting vs local hosting, two

SAPUI5/OpenUI5 Routing without “#” possible?

蹲街弑〆低调 提交于 2020-12-05 19:55:54
问题 I have an application with two routes ("" and "page") with a simple target attached to each (not the same). When I now navigate from the root route "" to "page", the URL in the URL bar of the browser changes to <baseurl>#/page . Also when simply entering <baseurl>#/page in the URL bar of the browser, the proper view is displayed, that was configured via route and target. Is it possible to configure UI5 - presumably the router - to omit the # in the URL, such that navigation changes the URL to