Hi Petro,
I think you are asking if there is away to retrieve the application url in a java action? If thats the case, all you have to do is add these two lines of code in your java action.
import com.mendix.core.Core;
and then in the "Begin user code"
String url = Core.getConfiguration().getApplicationRootUrl();
EDIT:
I don't think its possible to retrieve that url. This question is old but I think is still the case https://forum.mendix.com/link/questions/3161
One work around would to create a javascript function that writes the users url into a string, and then you can pass that string into a microflow. From there you can store the url however you want. Heres a link to the mendix api documentation.
https://apidocs.mendix.com/7/client/index.html
Hi Austin,
Thank you for you answer. Indeed this will help to get the application root url.
However I need to iterate through page url, that may be configured in properties, if it's possible of course. See the image below:
I need that to build a sitemap