Timewarp Functionality CQ
Hi,
I have created a component which uses some content from different page. As reference paragraph stores the absolute path of the referenced content, my component stores relative path. For example if reference component stores “/content/mysite/en_uk/home/jcr:content/par/hero/linktext” then my component will store path “par/hero/linktext”.The reason for this is we have multiple sites and for each of them this page path can be different. So I have created full URL in the backend by using SlingRequest and determining its parent by using absoluteParent method. But when I am using timewarp functionality the path returned is /jcr:System/42/56/34/5....." instead of "/content/mysite...", which is expected, but this breaks ,my logic. Is there an OOTB way to get the natural path starting with /content/mysite instead?
Thanks
Mayank