I know, I'm very late to the party but nevertheless responding hereby hoping it might be helpful to anyone landing on this post in future.This is what you can use to get the parent path in sightly:${currentPage.getParent.path}Regards,Prabhakar.
arunpatidar26 Yes, but that means the servlet is registered for one of the extensions but not for others(as .pdf requests are redirected to my custom servlet). I was not sure if that's possibleAlso from the list of extensions defined for this servlet, it always only accepts pdf irrespective of its p...
Hi Arun,That's what I guessed, bcz when I updated the following property under '/system/console/configMgr' :'Apache Sling GET Servlet => xml:pdf,zip,ppt 'The requests get handled by the default GET servlet and it downloads the asset(.zip,.ppt,etc) from the dam(what we want to achieve) but the contro...
Hi All,I'm using AEM6.4 and for a particular case I have a custom sling servlet must address get requests from multiple extensions.Eg:http://localhost:4502/content/rc/abs/en/membership/interviews/AESSVID0250.pdfhttp://localhost:4502/content/rc/abs/en/membership/interviews/AESSVID0250.ziphttp://loca...