getParameter not working onLoad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 07:38 AM
I don't think there is a getParameter function available in the GlideForm class. I see you are already using the top.window.location object to set the URL, have you tried retrieving it with it?
See more of my content here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 07:45 AM
Iam getting the sysid but JavaScript error getting in browser console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 07:40 AM
Hi VInya Jakkula,
getParameter() is a server side function that is normally used as part of an AJAX call. Since you are in a load situation, your best bet is probably creating a display business rule that will put the sys_id of the item in question onto g_scratchpad which you can then access in your On Load client script.
:{)
Helpful and Correct tags are appreciated and help others to find information faster