Error: g_form.getAppliedFieldName is not a function in Helsenki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2016 10:14 PM
Hi
when I run my service now request on Helsenki version, I am getting error "TypeError: g_form.getAppliedFieldName is not a function" in the browser console for almost all the browsers and due to that post UI policy and client scripts are not executing. but it was working fine in Geneva version.
please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 05:35 AM
Hi Jeetendra,
I have come across this error before where this error was thrown within the browser console due to a Catalog UI Policy referencing a Catalog Item, where the Catalog UI policy contains a variable that is not part of the Catalog Item.
For example, let's say we have a Catalog Item called "Test Item 1", that has a Catalog UI Policy called "Test UI Policy 1"
The Catalog Item has variables called "Test Variable 1" and "Test Variable 2".
If the Catalog UI Policy "Test UI Policy 1" has a Catalog UI Policy Action for a variable "Test Variable 3", then we would throw this error in the browser logs and therefore any other Catalog UI policy and Client Scripts would no longer run for this RITM.
This would be because "Test Variable 3" is not part of the Catalog Item "Test Item 1" and therefore we are referencing a variable that does not exist for that Catalog Item.
Hope this helps. Let me know if you have any further questions or concerns.
Best Regards,
Arron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 08:01 PM
Ok Arron, I look into my code to fix. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2016 03:51 AM
Hi Arron!
I had the very same issue, found "Test Variable 3" in one of the UI Policies, removed it and the issue still persists...Any idea what to do next?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2016 04:40 AM
This is a issue in Helsinki Patch 0, Patch 1. Please refer to the Known Error article. https://hi.service-now.com/kb_view.do?sysparm_article=KB0596179