How to get baseUrl

0
I can not get this baseurl.how to get this baseUrl
asked
3 answers
1

Hi,

In community commons there is a java action called GetApplicationUrl which returns the application url 

hope this will be helpful for you.

answered
0

As Javith says, there is GetApplicationUrl in the Community Commons module in the Marketplace.

https://marketplace.mendix.com/link/component/170

However, if you are deploying your application to the Mendix Cloud this won’t pick up any custom domain you may apply to your application. If you need more control of your base URL you can manually set this as a constant in your application instead.

Good luck!

answered
0

As Javith says, there is GetApplicationUrl in the Community Commons module in the Marketplace.

https://marketplace.mendix.com/link/component/170

However, if you are deploying your application to the Mendix Cloud this won’t pick up any custom domain you may apply to your application. If you need more control of your base URL you can manually set this as a constant in your application instead.

Good luck!

answered