If you integrate with one app with a datahub connection and another ways you have to create two constants for the location off the app.
If there would be the possibility to build up the string then you could build up the connection url like this:
@constantbaseURL + ‘odata/’PublishedService’/v1’ or @constantbaseURL +@ODATAlocationConstant
Thank you for your suggestion. During implementation we decided to not support concatenating strings (or constants) here, since we feel 1 constant per endpoint should be used. The advantage of this is that dependencies can easily be shown in Datahub and that services can simply be made available at another endpoint.