Skip to Content
4
Aug 01, 2021 at 03:44 PM

Best practice naming for sap.app/id and sap.cloud/service in manifest.json

1444 Views

Hello SAP BTP HTML5 Repository users, Hi Marius Obert,

I'm developing a CAP Based application with multiple SAPUI5 UIs that I want to deploy to the HTML5 repository so they can be added to the SAP Fiori Launchpad in the SAP BTP Cloud Foundry environment. So lets imagine this context:

Internet Domain: democompany.com
Application Component: Sales (SL)
Name of the Application: Price Condition Management
Name of the UI5 Apps: download, upload

So the most intuitive way would be to use:

com.democompany.sl.pcm

for sap.cloud/service as this can be used for all UI5 Apps and only e.g. download and upload for the sap.app/id. But the documentation Expose HTML5 Applications in SAP Launchpad service in the Section "Deployment Restrictions" reads like this:

  • The value of sap.app/id of each application must be unique across all spaces in the subaccount.
  • The value of sap.cloud/service of each application must be unique across all HTML5 repository instances, MTA files, and destinations.

So I need to use:

com.democompany.sl.pcm.download
com.democompany.sl.pcm.upload

also in sap.app/id to avoid naming collisions.

Is this the suggested approach?

Best Regards
Gregor