Th record producers not reflecting to the servcie portals

SrideviS9990372
Kilo Explorer
 
error:
 
Errororg.mozilla.javascript.EvaluatorException: GlideRecord.setTableName - empty table name (sp_widget.3c29786e87133200e0ef0cf888cb0bdf.script; line 373)
 ErrorScript source code logged to console
 ErrorFailing widget: 'SC Catalog Item' (3c29786e87133200e0ef0cf888cb0bdf)
3 REPLIES 3

Ankur Bawiskar
Tera Patron

@SrideviS9990372 

so you created record producer but unable to see on portal?

share some more details and screenshots.

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

Sneha KH
Giga Guru

Hello @SrideviS9990372 ,
Open record producer and make sure the table is populated, it exists, available in service portal is checked, catalog & category is assigned. Make sure the record producer is in the same scope.
Test it by giving: /sp?id=sc_cat_item&sys_id=YOUR_RECORD_PRODUCER_SYS_ID
The error comes from gr.setTableName(table); where table is empty.
Check and try again.


Tanushree Maiti
Mega Sage

 

In Service portal if you have made some changes to some widget and it's causing this issue then

check the logs for error message contains GlideRecord.setTableName and

check for the source of that log.

 

You will find out the root cause. you can share your widget details, so that we can help you as well

 

Please refer this links, see if it helps you:

Service Portal : org.mozilla.javascript.EvaluatorException:GlideRecord.setTableName error for failin...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: