Skip to Content
0
Sep 01, 2023 at 06:46 AM

Inner route for business app

181 Views Last edit Sep 01, 2023 at 07:02 AM 2 rev

Dear Community,

from the portal page I would like to reach not the main route of a ui5 app but a static sub-route of it. The alternative to pass query parameters has worked but I'd prefer to pass this info in the subroute. The documentation states how it should work: https://help.sap.com/docs/cloud-portal-service/sap-cloud-portal-service-on-cloud-foundry/configure-apps-for-your-subaccount?locale=en-US (Configure inner app routes).

The business app configuration looks as follows:

{
  "_version": "3.0",
  "identification": {
    "id": "com.sap...",
    "entityType": "businessapp",
    "i18n": "i18n/translation.properties"
  },
  "payload": {
    "visualizations": {
      "some-id": {
        "vizType": "sap.ushell.StaticAppLauncher",
        "vizConfig": {
          "sap.app": {
            "title": "",
            "tags": {}
          },
          "sap.flp": {
            "target": {
              "type": "IBN",
              "inboundId": "intent-action",
              "parameters": {
                "sap-ushell-innerAppRoute": {
                  "value": {
                    "value": "subroutePath1/subroutePath1",
                    "format": "plain"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Anyone having an Idea why this still only reaches the main route in the app? The route only now contains another query parameter called: sap-ushell-innerAppRoute instead of putting it like described in the documentation: {URL}#Semantic-action&/<inner-route>

Thanks,Jakob