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;

        }


Also set a new property adapter.connection.url to whichever URL you need.

Comments

Popular posts from this blog

BMXAA6713E - The record could not be retrieved from the database. Error

Rebuilding Maximo Text Indexes due to Query performance issues

List of things checked by Maximo Integrity checker