Get Application URL in Mendix Service Console

1
I am using Java Action's Get Application URL in the Mendix Service Console environment. However, it seems that Java Action is unable to get the URL and is returning null. Do I need to configure something in the Mendix Service Console? If so, please let me know how to configure it. Thank you.
asked
1 answers
1

Hi Eto Yutaro,

You are getting null because you haven’t configured the Application Root URL. To configure it you need to set the configuration value in either Mendix service Console or the Environment Details for your application environment, depending on how you are deploying your Mendix application:

In the Mendix Service Console (on premises):


Or in the Environment Details from your application:


Make sure you add your application URL (both configuration name and value are case sensitive) here as a new runtime configuration, more information here:

answered