on 01-14-2024 7:48 PM
Hi experts,
I'm seeking your insights regarding SAP Router and xs-app.json configurations within standalone approuter approaches in CAPM. I've observed two primary approaches:
1. Approuter within the App Folder:
2. Approuter in a Separate Folder (<Appname>-approuter):
Questions:
Hi Somnath,
See more info here
Indeed there are different implementation options:
1. Standalone approuter with embedded html5 applications (in a local approuter directory)
- If you change the html5 application you have to re-deploy the approuter (which might cause downtime)
- If you have multiple html5 applications all the routes should be configured in the approuter central xs-app.json file, which might be hard to maintain and error prone
2. Standalone approuter using HTML5 Application Repository service
3. SAP Managed Approuter --> recommended SAP approach
I hope this helps.
Best Regards
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I have encountered another peculiar problem. I need a CAP application where I have to consume the same CAP application service and a different CAP application service exposed via a destination. When I add code in the xs-app.json of the app router, it can load two OData services. However, it fails when added to the Fiori app's xs.app.json.
{
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.