Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 App is not visible in SaaS consumer subaccount #116

Open
miyasuta opened this issue Oct 11, 2024 · 3 comments
Open

HTML5 App is not visible in SaaS consumer subaccount #116

miyasuta opened this issue Oct 11, 2024 · 3 comments

Comments

@miyasuta
Copy link

miyasuta commented Oct 11, 2024

Background

I am following the tutorial : Implement Multitenancy in a Full-Stack CAP Application Following SAP BTP Developer’s Guide, and I am now at the last step: Subscribe to the Application.
I have created a new consumer subaccount in the same region as the provider subaccount.

Issue

Although the subscription was successful, the HTML5 application is not visible from the consumer subaccount.
image

image

I have configured destinations, and the tile is visible in the consumer's Work Zone site.
image

However, when I press the tile, the app keeps loading, and I see that fetching ui5AppInfo.json is failing with a 404 error.
image

The dependency viewer shows the following status.
image

Any suggestions on what might be missing?

The source code is uploaded to the following repository in the "multitenancy" branch.
https://github.com/miyasuta/incident-management-2410/tree/multitenancy

@gopalanand333
Copy link
Member

@miyasuta
Can you check if your application is visible in the provider account's html5 apps section? Also steps can be validated using this tutorial : https://developers.sap.com/tutorials/integrate-with-work-zone.html

@miyasuta
Copy link
Author

@gopalanand333
Thank you for your reply. The application is visible in the provider subaccount. Also, when I subscribed to the SaaS app in the provider subaccount, the app could be launched in SAP Build Work Zone without any issues.
image

@gopalanand333
Copy link
Member

@miyasuta
I see that your tenant mode is set to dedicated

  - name: incident-management-2410-auth
    type: org.cloudfoundry.managed-service
    parameters:
      config:
        tenant-mode: **dedicated**
        xsappname: incident-management-2410-${org}-${space}
      path: ./xs-security.json
      service: xsuaa
      service-plan: application

For multitenancy we would need shared mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants