I am facing these errors.Please resolve

AMIT SHISHODIA2
Giga Guru

find_real_file.png

1 ACCEPTED SOLUTION

AMIT SHISHODIA2
Giga Guru

Got the Solution:
First:

Replace

var kbPortal = new KBPortalService();
with
var kbPortal = new sn_km_portal.KBPortalService();

after that clone the script include kbPortal Service with the same name and apply it to all scopes and disable OOB script include and work with this cloned one script include

View solution in original post

9 REPLIES 9

Tanushree Doiph
Mega Guru

Hey Amit,

I found one community link based on your problem, 

https://community.servicenow.com/community?id=community_question&sys_id=332107aadb20f7c05129a851ca96...

 

Please mark it correct and helpful as per your impact.

 

Thanks

Tanushree

 

It is not working for me

Rajesh Kannan G
ServiceNow Employee
ServiceNow Employee

Replace
var kbPortal = new KBPortalService();
with
var kbPortal = new sn_km_portal.KBPortalService();

I believe you cloned Knowledge Article Content widget in scope sn_km_portal to Demo Knowledge Article Content n global scope. Script Include KBPortalService is in sn_km_portal. The cloned global widget has to prefix the scope name to initialize the script include.


Regards,
Rajesh

Now,I am getting these errors
find_real_file.png