Please help on Widget clone error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 07:20 PM
Heelo
I cloned the 'My Request' widget to include additional information. However, when attempting to replace the original 'My Request' (OOB) with the clone, I encountered the following error. Please assist. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 10:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 10:39 PM
Thank you for this video.
Can you right-click on form in browser where you are getting this error & click on 'Inspect' and check in console log for the script having 'alert' :
here I have just reproduced this error in my portal...for you it will be page editor
Go to console & search of 'alert' word
here you will get to know from which script you are getting error
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 08:33 AM
Hello @Vishal Birajdar
Thank you so much for showing me the technique on troubleshooting widget errors. I learned something new.
Once I located the script causing the error, how do I fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 08:14 PM
Hello @Lisa Goldman
You need to find out it in platform in which script/widget script that alert has been added and comment that line or remove it from script.
**If you expand the error in browser console you might get the sys_id of the object in which that alert has been added.
Hope this helps...!!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 09:00 PM
I am assuming this is the line that caused the error. How do I comment out the line and save the changes?