I need to evaluate JSON file kept on some path in JS file.
path = "/apps/ademo/components/structure/basepage/mapp.json";
Like in dialog listener JS , we do - var x = CQ.shared.HTTP.eval(path);
I want to evaluate in component specific JS file.
(When i use "CQ.shared.HTTP.eval(path)" in component specific JS file, it gives an error as )
Please assist.