Questions tagged [ui5-tooling]

Questions about tooling support for building and consumption of UI5 framework and applications. This tag covers 'ui5-cli', 'ui5-project', 'ui5-server', 'ui5-fs', 'ui5-logger' as well as tasks and middlewares.

UI5-Tooling is a -based modular toolchain to develop state-of-the-art applications based on the UI5 framework.

For more information, please visit the following links:


Related Tags

  • (UI5 Tooling is practically no longer usable in since Web IDE's Node.js version is 8, over which users have no control, and UI5 Tooling 2.0 supports only Node.js 10 or higher. Web IDE is no longer actively maintained in favor of SAP Business Application Studio.)
74 questions
7
votes
2 answers

Can I use webpack with openUI5?

Can I use webpack and its bundling-features with an openUI5 project? How? I am aware of openui5_preload and gulp-ui5-preload but I want more than just putting all my code in one preloader-file: I like to "walk" all used dedendencies as well and…
Benvorth
  • 7,416
  • 8
  • 49
  • 70
3
votes
1 answer

How can I run a specific SAPUI5 control sample from Demo Kit locally?

I am looking up the sample for the sap.m.UploadCollection control. I've downloaded and run the sample package locally using the following commands: npm install and then ui5 serve -o index.html I get the following error in console when navigating…
VilleLipponen
  • 636
  • 1
  • 13
  • 22
3
votes
1 answer

Use NPM Packages with SAPUI5 Typescript

I am trying to use the npm-package soap in my SAPUI5 APP. I am new to web development, so I tried to follow this tutorial: https://github.com/SAP-samples/ui5-typescript-tutorial/tree/main/exercises/ex8 What I have tried: Created an SAPUI5-project…
NKN30
  • 33
  • 3
3
votes
3 answers

How to import ES Module into UI5 controller

Given an ES Module dictionaryAPI.mjs: export const DICTIONARY_API = Object.freeze({ someKey: "someValue" }); I want to import it to my UI5 controller. As far, as I understand, UI5 doesn't support .mjs extensions, therefore I've changed an…
Mike
  • 14,010
  • 29
  • 101
  • 161
3
votes
1 answer

Unable to deploy CAP application to Cloud Foundry

I have been developing an application using Cloud Application Programming Model (Node.js), following this tutorial: https://github.com/SAP-samples/cloud-cap-nodejs-codejam Unfortunately, I am unable to deploy it to the Cloud Foundry. I also created…
3
votes
1 answer

Component-preload.js generation

We are about to close a SAPUI5 application, one of the last steps is to make a Component-Preload.js file to improve performance. I read different guides around the web, all of them need Node.js that I have installed. I'm not expert about that…
gabbla
  • 269
  • 4
  • 11
2
votes
2 answers

sap ui5: error while running inside docker

I am trying to run sap ui5 application inside docker.The docker final command runs the script in package.json as "dock": "ui5 serve -o index.html --accept-remote-connections", But when running this am getting the following error Process Failed With…
user846445
  • 221
  • 1
  • 3
  • 14
2
votes
0 answers

How to change the env file content when build the sapui5 application via @ui5/cli

I'm now working on sapui5 project managed by ui5.yaml & @ui5/cli. I don't know how to use something like .env to control some variables' value which can be switched between dev env and pro env. And i have found a workaround, which creating a env.js…
Zou Yi
  • 21
  • 2
2
votes
1 answer

UI5 parameters: data-sap-ui-xx-waitfortheme and data-sap-ui-xx-componentpreload

The UI5 HTML-bootstrapper has two parameters which I don't really understand: data-sap-ui-xx-componentpreload data-sap-ui-xx-waitfortheme I've checked the official documentation and didn't get some straightforward description. My questions: When…
Mike
  • 14,010
  • 29
  • 101
  • 161
2
votes
0 answers

UI5 Custom Middleware often cannot parse JSON bodies when accessed via Karma testing suite

Ok, this is a very specific problem I have been struggling with for over a week now. I am developing a SAP UI5 application where UI testing is done via Opa5/QUnit. Serving the application directly via npm does work without problems, however, using…
2
votes
1 answer

How to consume OpenUI5 custom themes in the same project?

I have started exploring my OpenUI5 app from this template - openui5-basic-template-app. I need to create custom theme for my OpenUI5 WebApp. I have gone through this sample - https://github.com/matz3/ui5con17-custom-theme I have already gone…
sudarshan1933
  • 321
  • 4
  • 14
2
votes
2 answers

Error: failed to load 'sap/ushell/library.js' from resources/sap/ushell/library.js while enabling ui5-tooling

I clone the demo project for ui5-tooling and run it successfully. however if I do a little change to the project, some errors occur. Reproduce I did a little change to the manifest.json as below: "sap.ui5": { "dependencies": { "libs": {…
leon0912
  • 21
  • 1
  • 2
2
votes
0 answers

How to make the node_modules folder accessible during the build process of a ui5 themelib?

I want to build an open UI5 theme-library using the ui5 tooling (CLI). This is normally no problem, but I want to build it using an other UI5 theme-library which I installed via npm and which resided in the node_modules directory. During the build…
2
votes
0 answers

Environment Variables in OpenUI5 Application

I'm currently implementing a web application with the OpenUI5 framework. I'm also using the UI5 Tooling. However, I could not find any documentation about how I can use environment variables inside my app. Normaly, in any Node.js application, I…
mathlizee
  • 185
  • 2
  • 12
2
votes
1 answer

How can I provide missing translation files for SAPUI5 libraries?

I have a SAPUI5 app that tries to load some translation files based on user language but those languages are missing in the original library of SAP. For example it tries to load a translation with fa locale as…
MJBZA
  • 4,796
  • 8
  • 48
  • 97
1
2 3 4 5