- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 09:51 PM
Can anyone help me to give the alternate code for GlideURL() in below script as it is not supported in Kingston.This is very urgent for me.
After Kingston upgrade I get Javascript error in my dev instance.
When I check in console below is the error. GildeURL is not defined.
Below is the onload client script.
function onLoad() {
var gURL = new GlideURL();
gURL.setFromCurrent();
var event = gURL.getParam("sysparam_marketing_event");
var eventCount = gURL.getParam("sysparam_marketing_event_count");
//alert(event);
if(event && eventCount){
g_form.setValue('marketing_event',event);
//g_form.setValue('special_instructions',eventCount);
}
}
Solved! Go to Solution.
- Labels:
-
Upgrades and Patches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 08:31 AM
Hi Ankur,
Issue got resolved after changing the client script ui type to desktop from All.
Regards
Akshatha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 07:26 AM
Hi Akshata,
Any update on this?
Did you check with ServiceNow whether this is a known issue.
Can you mark my answer as correct, helpful and hit like if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 08:31 AM
Hi Ankur,
Issue got resolved after changing the client script ui type to desktop from All.
Regards
Akshatha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2020 06:58 AM
Not working ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2020 09:01 AM
Hi,
I would suggest to open a new question as this is quite older post.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader