Hello experts,
How can I read a value f=rom the queryString of the browser URL?
let's say the url is:
http://xyz.com/something?state="NY"&city="NYC"
how can I read the values of state and city inside the initialize or beforeFactory events at the javascript level?
I have seen the posts where people suggested to use the following:
reportContext.getHttpServletRequest().getQueryString() but the reportContext.getHttpServletRequest() is null in my case, since we are using dojo on top of a rest framework.
I want to do this at javascript level only. How can I obtain the queryString?
Any kind of help or pointers will be greatly appreciated. I have spent almost a day trying to figure how to get the query string value.
Thanks
Rakesh