Hi all,
I’m developing macro for confluence server. I need to get the full URL of the page where I’m adding the macro. With this code I get only the base of it… How to get the full url?
public String getUrl(){
SettingsManager settingsManager = ComponentLocator.getComponent(SettingsManager.class);
String baseUrl = settingsManager.getGlobalSettings().getBaseUrl();
return baseUrl ;
}