on 02-27-2024 11:07 AM
Hello experts,
I have tried out the new Adaptation Project Generator for Visual Studio Code an managed to generate an adaptation project for the application "Purchase Order" (F0348A).
But when I try to open the adaptation editor, an error is displayed:
Should the adaptation-editor.html be located in the webapp folder? Because this is not the case for my generated adaptation app.
Thanks in advance 🙂
Julia
Hi Julia, are you behind a corporate proxy by any chance? Unfortunately the error message doesn't reveal much...We will work on improving this. Would it be possible for you to create an official support ticket for SAP? If not, you can the following on your side to debug the issue:
IMPORTANT: Do not post the error object in here as it contains sensitive data!
Best regards,
Zdravko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes actually I am behind a proxy, could this be a problem?
I get the following error messages:
Thanks for the hint, I've defined the proxy in my .npmrc, but it was the wrong proxy. I fixed it and now the adaptation editor is openend 🙂
But now I get an error when the UI5 resources gets loaded via http://localhost:8080/resources/sap-ui-core.js, my ui5.yaml configuration looks like this:
When I start the editor, the following error message is displayed:
warn fiori-tools-proxy Unable to check if the 1.120.9 is available on the SAPUI5 SDK. Proceeding with loading the preview with this version.
Hi Julia,
could you please add "debug: true" in your ui5.yaml. It should look like this:
- name: fiori-tools-preview
afterMiddleware: compression
configuration:
component: myapp
ui5Theme: sap_horizon
debug: true
afterwards please try to start the adaption editor again.
The file adaptation-editor.html is generated at runtime, so it does not need to be part of the webapp folder. The error code that you are getting indicates and issue with the backend
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.