Error while loading the legal portal. " ErrorServer JavaScript error undefined is not a function."
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 08:32 AM
While loading the legal portal I received the below error messages
Error Server JavaScript error undefined is not a function.
Line number 11 (sys_script_include.94d06ee7db3b04509dd29207db961953.script)
Error Failing widget: 'Relevant for you' (6cc836d0dbf700500c209493db961914)
Can someone help me how to fix it please
I checked the script include with the sys_id : 94d06ee7db3b04509dd29207db961953 and the line 11 but dont know the error
var UserRecommendationUtilSNC = Class.create();
UserRecommendationUtilSNC.prototype = {
initialize: function(instanceId) {
this.stats = {};
this.stats.callerId = instanceId;
this.stats.callerTable = instanceId ? 'sp_instance' : '';
this.stats.parentId = instanceId;
this.stats.textPrefix = 'UserRecommendationUtil';
this.stats.userId = gs.getUserID();
this.stats.startTime = new GlideDateTime();
this.performanceIndicatorUtil = new sn_ex_sp.PerformanceIndicatorUtil();
},
getKbGrFromSysId: function(articleId) {
var gr = new GlideRecord("kb_knowledge");
gr.get(articleId);
return gr;
},
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2025 09:22 AM
Hi
We are facing the same issue. Please help if you were able to fix this issue.
Thanks
Anupam