The CreatorCon Call for Content is officially open! Get started here.

onload client script not working on custom table

raja_5
Tera Expert

Hi Experts,

I have a custom table where I have written an onLoad client script, but it is not working. I even tried just adding alert('message'), but it still doesn't work. Please suggest a solution.

11 REPLIES 11

@raja_5 

is your co-ordinator with default value?

If yes then why not use default value in the variable and write the server side there itself?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@raja_5 

share your script include complete script and screenshot.

Also is script include client callable?

What came in alert?

did you add gs.info() in script include and see it got invoked?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader