Hello,
I have to pass the query parameters from one page to other on click of a button. Which I am doing as:
window.open(window.location.origin + "/xyz/WebContent/index.html?fName="+fname+'&Lname='+lname);
The page gets opened up in a new tab, however the url dosen't show up as it should have been.
Required URL- http://myhost:0010/xyz/WebContent/#forward?fName=Cherry&Lname=Jon
but I am getting the URL as,
http://myhost:0010/xyz/WebContent/#forward
Due to which, I am unable to retrieve the parameters in this page.
For retrieveing parameters I am using :
var abc = jQuery.sap.getUriParameters().get("fName");
While debugging I am getting abc as null.
That means URI parameters are not coming.
Suggestions are welcome Image may be NSFW.
Clik here to view.
Thanks,
Maneesha