cancel
Showing results for 
Search instead for 
Did you mean: 

CAP Deployment - FIORI App Does not Appear under the HTML5 Application on BTP

Md-Manauwar
Explorer
0 Kudos
486

Hello SAP Experts,

Greetings for the day! 

I have an odd situation. 

I developed a CAP service with Hana Cloud and added the app UI content (Fiori Elements).

All the required bindings have been mapped to mta.yml file and successfully deployed on the cloud foundry and all the service bindings were created successfully including HTML5 binding.

CAP  service , App Router etc. deployed & shows in green status as expected.

However, the Fiori App doesn't appear under the HTML5  Application Repository on BTP. 

Can you please help me to understand what could be the possible reason for that. 

Looking forward for the help . Thank You!

MdManauwar_1-1725727414341.png

Best Regards

MD Manauwar

gregorw
Active Contributor
You write that you hava a custom approuter. So maybe you have published the apps inside there and not deployed them to the HTML5 repo?
Md-Manauwar
Explorer
0 Kudos
Hi Gregorw, thanks for the reply. There is no custom app router , it's inbuilt from the CAP template.
MioYasutake
Active Contributor
0 Kudos
@Md-Manauwar Can you share your mta.yaml file?

Accepted Solutions (0)

Answers (4)

Answers (4)

WouterLemaire
Active Contributor

Based on your config you use the standalone approuter. You need to go via the approuter to open your app. The url can be found in the list of applications deployed to the cloudfoundry space.

If you want to switch to the managed approuter you need to configure an additional module like in this example starting at line 54 https://github.com/SAP-samples/btp-resource-consumption-monitor/blob/main/cf/mta.yaml 

 

 

 

gregorw
Active Contributor

Have you used the approach described in the CAP Documentation: 5. User Interfaces 

Md-Manauwar
Explorer
0 Kudos

Hi Gregorw,

I have checked the shared Documentation and executed some of the CLI commands, which was mentioned. However, all the deployment configurations for the UI along with the SAP Build Workzone launchpad module have been already added as part of the Fiori App Generator tool/templates. I have redeployed but no luck.

 

Thanks and Regards

MD Manauwar 

gregorw
Active Contributor
0 Kudos

Please check out the example https://github.com/SAP-samples/multi-cloud-html5-apps-samples/tree/main/managed-html5-runtime-fiori-.... Your mta is missing "sap.cloud.service" which must correspond to sap.cloud.service in the manifest.json.

Md-Manauwar
Explorer
0 Kudos

Hi Gregorw, 

I have referred to the above Git Project and tried adding the sap.cloud.service . But it didn't work.

Are there any blogs or documentation where it's been explained the process clearly?

As in most of the blogs, there is CAP deployment shown but without the App module.

 

Thanks and Regards

MD Manauwar 

Md-Manauwar
Explorer
0 Kudos

Hi Mio,

Thank you for the response.

PFA of the mta file. Looking forward for the solution.

 

Thanks and Regards

MD Manauwar