Relevant for you Widget in Employee center not working as expected

matt_a
Kilo Guru

I have the "Relevant for you" widget on our employee center homepage, but it has only ever returned 3 knowledge articles.

It is set up to return knowledge and catalogs, but has never returned any catalog items. If I change the instance options to just return the catalog, the widget disappears as has nothing to display.

All of my items are linked to taxonomy topics and as per the script UserRecommendationUtilSNC, it should be returning catalog items.

Has anyone got the widget working and might have some insight as to what is wrong?

4 REPLIES 4

Community Alums
Not applicable

Hi @matt.a ,

Follow this article and configure each steps if you have missed any :https://community.servicenow.com/community?id=community_article&sys_id=8f9b2539db54c9d0457ae6be13961...

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Thanks. I have gone through it and all seems to be set up as expected. I even ran the fix scripts, and these had no impact

josePinho
Tera Contributor

I was with the same problem here.
My solution was:

Clone the OOTB widget and debug it.
I found that option.limit is not working (as the img bellow)

 

josePinho_1-1695992289536.png

(here is the console.log)

josePinho_2-1695992374382.png

(here is the code as OOTB)

Then I force the "line 16" to receive 4 items as the img:

josePinho_3-1695992533966.png

After this it works well, you just need to config the CSS to your requirements:

josePinho_4-1695992620635.png

 

 

I hope it works for you too.

RupalP920609869
Tera Contributor

Iam unable to view any articles on my esc portal configured, can anyone suggest how to populate articles here?