Helper method to grab query parameter from URL.
Deploy the helper library using the Ensighten Frameworks App.
If you already have the Ensighten Framework app deployment, you can add the Get Query Parameters to your selection. (Step 5: Ensighten Frameworks App article)
Parameters
- @param1 {string} key Query parameter name requested
- @param2 {string} loc String to search for query parameters
Example: For URL http://www.website.com/home/index.jsp?boo=hoo to get the value of the "boo" param.
Bootstrapper.getQueryParam("boo");
Comments
0 comments
Article is closed for comments.