How do you influence the results of the Recommended For You and Popular Topics widgets?

Loudigi
Kilo Sage

While it's amazing that these two features exist, they seemed to create a challenge at launch. Currently, both of these widgets are populating with items from the IT topic and completely ignoring items from other topics like HR. Understandably, the features are working as designed. These items and topics have the bulk of user activity so they bubble to the top. However, when you initially launch Employee Center, you may want a more fair or balanced display of items within these widgets so users understand the variety of items they have access to. Just like you can control the relevancy of the AI Search results, it would be great if you could manage the relevancy of Popular Items and Recommend For You
Does anyone have more documentation on how these actually work? And can they be manipulated? I found the sn_ex_sp_topic_metric table holds the metrics for Popular Items, but it cannot be edited. 

7 REPLIES 7

Hi Loudigi, 

Do you know if there is a way to choose what is displayed on the popular topics widget permanently? My requirement is to have this as a static widget that doesn't change.

Thanks!

Dalma P_ll
Tera Contributor

Hi there, @Allen Andreas 

Is there a way to manipulate the popularity of topics? I updated the popularity of a topic with a simple glide record on the sn_ex_sp_topic_metric table. I gave this topic the highest popularity number but it didn't trigger any changes in the Popular topics widget. 

Let's say I want a topic to show in the top 6 popular topics. Where/in which table can I change the number of how many times a catalog item has been requested? Would this change be enough to push a topic to the Popular topics?

Looking forward to hearing back from you. Thanks.

Prashant Ahire
Kilo Sage

Hello,

 

- There is a Scheduled Job "Populate Topic Popularity" which executes a script include that updates the popularity of popular topics and saves the data in the Topic Metrics table.

- I have turned off the scheduled job as it is not required.

- Changed the Order for this Topics in Topic matrics table "sn_ex_sp_topic_metric " through the fix Script.

 

 

 

var gr = new GlideRecord('sn_ex_sp_topic_metric');

gr.query();

while (gr.next()) {

if (gr.topic == 'ffb7887b1bf1d1109507535f034bcbfe') { //Report a Problem

gr.popularity = 100;

gr.update();

} else if (gr.topic == '9126c43b1bf1d1109507535f034bcbb8') { //Access Request

gr.popularity = 90;

gr.update();

} else if (gr.topic == 'a9e5403b1bf1d1109507535f034bcb05') { //Hardware Request

gr.popularity = 80;

gr.update();

} else if (gr.topic == '81e704bb1bf1d1109507535f034bcb4d') { //Software Request

gr.popularity = 70;

gr.update();

} else if (gr.topic == '7467c87b1bf1d1109507535f034bcb80') { //Onboarding/ Offboarding Services

gr.popularity = 60;

gr.update();

} else if (gr.topic == 'a9c6cc3b1bf1d1109507535f034bcb29') { //Departmental Services

gr.popularity = 50;

gr.update();

} else if (gr.topic == 'a807c07b1bf1d1109507535f034bcbfd') { //Infrastructure Services

gr.popularity = 40;

gr.update();

} else if (gr.topic == '4f96883b1bf1d1109507535f034bcb54') { //Can we help you?

gr.popularity = 30;

gr.update();

} else if (gr.topic == 'bf0808bb1bf1d1109507535f034bcb86') { //Knowledge Articles

gr.popularity = 20;

gr.update();

}

}

 

 

 

Thankyou 

 

Please Mark correct if Helpful