Hi Expert ,
I am trying to connect different services in one Ui5 free style application. So I am able achieve the dynamic loading of the model in the controller without using manifest. For a complete dynamicity I needed a way to have generic regular expression in xsapp.json file . So that it can connect to the different destinations in BTP cockpit from dynamic hits from the controller. I have also followed up the help document in SAP and I tried but none of them results in dynamic destination.
Tried code snippet from help document :
{
"source": "^/destination/([^/]+)/(.*)$",
"target": "$2",
"destination": "$1",
"authenticationType": "xsuaa"
}
https://help.sap.com/docs/btp/sap-business-technology-platform/html5-apps-routes