Both decodeURIComponent() and decodeURI() not work on scoped application
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 04:37 AM
Team, I am trying to decode an URL, but I am getting undefined value. Could you guys know how to resolve it?
Find below my code:
function getParameterValue(pName){
var glideURL = new GlideURL();
glideURL.setFromCurrent();
var url = glideURL.getParam(pName);
return decodeURI(url[pName]);
//return decodeURIComponent(url[pName]);
}
Labels:
- Labels:
-
Personal Developer Instance
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 03:13 AM
Hi Ankur, sorry for my delay response. It was not resolved yet, it brings me special character.