Hi @Prashardan, You need to configure Resource Mapping (/etc/map) for your website first. Then use the following Java code for Dispatcher URL:
String contentPath = getCurrentPage().getPath();
String mappedURL = getResourceResolver().map(contentPath); // Dispatcher URL
In Page Properties, 3 options are available. Please choose the method based on your requirement.

Mahedi Sabuj

