There is a javascript error in your browser console when previewing a record in Servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 07:01 PM
Hi Team,
I'm experiencing an error when previewing a record in portal.
When inspecting, below is the error message
Below is the client script causing the error. This client script autopopulates the field.
Any ideas as to why am I getting this error? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 08:09 PM
Hi Samaksh
Thanks for the response below is the Script Include function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 12:57 AM - edited 08-02-2023 12:57 AM
Hi @Samaksh Wani ,
I would just like to add that I deactivated the client script & UI policy related to that field and tried inputting user manually. When I clicked the reference icon to preview the record, it still shows the error. I also tried duplicating the field and it still shows the error. I checked the table referenced to the field and there is no existing onload client script as well. Which means the error does not lie within the client script of the catalog. Have you experienced the same before? Please let me know. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2023 07:45 PM
Hi @Samaksh,
May I know if you have experienced the same issue before? We are planning to raise Hi ticket for this one