Why g_form.getOption() method not working & throwing console error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 11:01 PM - edited 03-26-2023 11:04 PM
Hi Community,
For the below On change client script, getting browser javascript error & alert() is not working.
Could anyone please help what's the issue with this function?
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 11:04 PM
Hi @Ankita Kolhe ,
getOptions is NOT supported in the Service Portal, so you have to find an alternative, please try the below suggestions.
g_form.getOptions not working in the portal. alternative
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024 08:19 AM
When people say "it won't work in Portal" does that also mean on a workspace record page as well?