How to access client url variables in templates?

I’m trying to find out how to access the client root/base URL’s in a template, but so far have no luck in the documentation. I’ve scoured the Java source code and found two UrlBean.java files, but found nothing referencing the client. The client base URL is set under Clients > {client_name} > Settings > Base URL.

What am I missing? How can I access these variables in my templates?

I have same problem, cant find or add url variables that are used in templates.

I normally use ${client.baseUrl}, that does not work for you?

Code of the Bean injected in the freemarker templates ist here:

1 Like