on 2025 Feb 27 11:22 PM
Hi,
I am following a tutorial: Welcome to the Developing and Extending SAP Fiori Elements Apps openSAP samples
available at https://github.com/SAP-samples/fiori-elements-opensap/tree/main
I am stuck in week 3 unit 4.
Hands-on exercise for week 3 unit 4: Deploying your SAP Fiori elements app
So far, I have followed everything as described in the tutorial. When deployed from Business Application Studio, the app does not appear in HTML5 Applications in BTP Cockpit and content Manager work zone.
I tried https://me.sap.com/notes/0003228331 but this didn't work.
While searching for solution I came across this https://community.sap.com/t5/technology-q-a/after-deploying-to-cloud-foundry-log-shows-successful-bu... - but this also didn't work.
Please help in this regard.
Request clarification before answering.
My apologies, I think there is a bug in the cf deployment flow which needs to be investigated.
As a possible work around, you can create the project with an mta.yaml configured to use a managed approuter and then follow the steps shown in the tutorial.
Step1. Load the CF App router
Step2. Create your app using managed approuter;
Step 3. Append a HTML5 app to the existing mta.yaml
You can then follow the existing steps in your tutorial. The only change will be where the question to append to a managed approuter wont be present since it already has a managed approuter.
Hopefully this will unblock you.
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Edit: I see the other answer has pointed out more context from OP that mentions that the HTML5 apps are not actually being told to upload by the MTA, which means the solution below will not work in this specific case. However, I am leaving it up in case someone finds this post by searching and is helped by it. 🙂
Hi, I encountered this recently and couldn't find any reason why the apps wouldn't be showing up - deployment all green, no errors, etc. This is what ended up helping me find the reason and solve the issue.
In Channel Manager, after you have refreshed the content, there is a Report link underneath:
Clicking this opens a dialog that may or may not say the following, but there's also a Download button:
This downloads a report.json which, in my case, contained clear information as to why the apps weren't showing up and gave me the insight needed to fix the issue. Hope it is helpful for you as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on what you have attached, your mya.yaml does not have any of the HTML5 app modules and resources appended.
For example, here is a basic mta.yaml with the required HTML5 app appended;
https://github.com/SAP-samples/fiori-tools-samples/blob/main/neo-migration/managedapp/mta.yaml
I would suggest you review this git repo which shows different approuter configurations and sample projects, for example;
CAP Project
https://github.com/SAP-samples/fiori-tools-samples/tree/main/cap
Root MTA supporting multiple HTML5 apps (1-n* mapping);
https://github.com/SAP-samples/fiori-tools-samples/tree/main/neo-migration/managedapp
Single MTA supporting a single HTML5 app (1-1 mapping);
https://github.com/SAP-samples/fiori-tools-samples/tree/main/neo-migration/fioriapp
These git examples, reflect some of the latest changes introduced by SAP Fiori tools to support development and deployment to Cloud Foundry and shows different project structures to support different use cases.
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, even tough the tutorial is 4 years old, most of these steps should still be applicable but can be done via the wizard flow rather than through the CLI or by creating the project and mta upfront via the CF Approuter Generator.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.