In a Perspective 8.1.43 application, I have a button used to navigate back to a main application (named MainApp). I use the following code in a button:
url = system.util.getGatewayAddress() + "/data/perspective/clients/MainApp"
system.perpective.navigate(url=url)
I have two gateways, one for production and the other for development. The development gateway is not licences.
I can navigate to the MainApp if the application is executed on the Production Gateway but it won't work if the application is executed on the Development Gateway.
It seems the problem is with system.util.getGatewayAddress() and there is no trace in the log.
Any idea why?