@Keerthi0555
You missed single quote at the end of component path.
String queryString = "SELECT * FROM [nt:unstructured] AS node WHERE ISDESCENDANTNODE(node," +path+")"+ "AND [sling:resourceType] = 'apps/components/componentName'"
Running command prompt as admin will fix the build issue. If you don't have admin right in your system then set includeDispatcherConfig = n and run the command.
This is how we should get the header value in dispatcher.
%{HTTP:X-AEM-CLIENT-COUNTRY}
I was using like this %{HTTP_X-AEM-CLIENT-COUNTRY}, which didn't work.
Hi Folks,
I am trying to configure dispatcher for Geo location headers x-aem-client-country and x-aem-client-continent. But I don't see those are being added by CDN. Below are the changes that I made
farm file:
/headers {
"Cache-Control"
"Content-Disposition"
"Content-Type"
"E...
@Venkat_SaiGa
Try as per below link.
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/unable-to-get-current-page-path-in-cloud-publisher-environment/m-p/608891#M152804
Then adapt page resource to Page.class and get title.