Setting Pre Defined URL in Maximo Anywhere
To set a pre defined URL while opening the Anywhere app, first of all the app has to be built by using App Container.
The URL that will be displayed will be created using the properties defined in the \IBM\Anywhere\MaximoAnywhere\build.properties
adapter.connection.protocol=https
adapter.connection.domain=maxany.adweag.ae
adapter.connection.port=443
adapter.connection.context=maximo
Unfortunately it always creates URL which contain port number.
To avoid the URL to not have PORT number, update the \IBM\Anywhere\MaximoAnywhereAppCntr\scripts\container.js file
and add below script where it creates the URL.
if (appBuildProps.get('adapter.connection.url')) {
let serverUrl = appBuildProps.get('adapter.connection.url');
defaultServer = serverUrl;
}

Comments
Post a Comment