Please help on Widget clone error.

Lisa Goldman
Kilo Sage

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.

 

LisaGoldman_0-1705979923520.png

 

10 REPLIES 10

Omkar Mone
Mega Sage

Hello Can you post the code here?

Sandeep Rajput
Tera Patron
Tera Patron

@Lisa Goldman It looks like you are using alert in your server side script of widget which is not allowed as it is a client side method. Please remove the alert from your server side script and the error will resolve.

 

Hope this helps.

Hi @Sandeep Rajput 

I cloned the 'My Request' widget, but I did not add, modify, or delete any code. I was simply attempting to replace the cloned widget with the out-of-the-box 'My Request' to see if it works. The error message occurred when I tried to save.

 

LisaGoldman_0-1705987173455.png

 

Vishal Birajdar
Giga Sage

Hello @Lisa Goldman 

 

Can you please let know the what steps you have done so that we can reproduce this error on PDI...??

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates