CF widget JS issue
Hi
I am facing one issue with my custom contentfinder js. Actually i want to send the page path as the request parameter to CF's view handler.
/bin/wcm/contentfinder/asset/viewnew.json[requestParam-page path under content]
Issue is i am not able to fetch page path inside widget's js. I tries below
"url": CQ.shared.HTTP.eval("/bin/wcm/contentfinder/asset/viewnew.json" + window.location.href)but in network tab its showing request is going as "http://localhost:4502/bin/wcm/contentfinder/asset/viewnew.jsonhttp://localhost:4502/cf#". So in that case i can get http://localhost:4502/cf# as request param. URL that i am hitting is : http://localhost:4502/cf#/content/Company/en/Article.html . But is need content/Company/en/Article.html or content/Company/en/Article as the request parameter.
Thanks