on 2024 Sep 23 8:57 PM
Hello,
I am working on a specific FIORI app that has been developped a few years ago with Web IDE, to manage Purchase Orders that can't be with standard tile.
Today, I have to make few changes on this app. So, I have migrated it on Visual Studio Code.
At first sight, migration seems okay. But when I try to run the app (without making other changes than migration), it opens a blank page in my browser and there are error messages about standard component used by the app.
In my browser, I get :
Request URL: http://localhost:8080/resources/sap/ui/s2p/mm/lib/reuse/text/library.js
Request Method: GET
Status Code: 404 NOT FOUND (from disk cache)
Remote Address: [::1]:8080
Referrer Policy: strict-origin-when-cross-origin
I sometimes have error directly in Visual Studio Code : « Failed to resolve library sap.ui.s2p.mm.lib.reuse.text: Could not find library "sap.ui.s2p.mm.lib.reuse.text" »
I have tried to change ui5.yaml file by adding a path under « backend » section like below, but it still KO.
- path: /resources/sap/ui/s2p/mm/lib/reuse/text
pathPrefix: /sap/bc/ui5_ui5/sap/MM_REUSE_TEXTS1
url: https://my.backend.com
client: "200"
Any idea of what I can’t do to fix this issue ?
Thanks in advance for your help.
Armelle
Request clarification before answering.
The way you try to solve it is correct in my opinion but maybe something is wrong with one of the paths. Here you have an example how I did this for a custom library (which I didn’t want to load locally) at line 29: https://github.com/lemaiwo/detailcomponent/blob/93cac62bf0bdad73223fbc1fe87d58af81235b7a/ui5.yaml#L2...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for trying to help.
It works today, without any modifications in yaml file. It seems there was proxy issues (curl on library returned error 401), but nobody can told me what has been done or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.