Unable to see Popular topics in Employee Center

Harshil3
Tera Expert

Unable to see popular topics on the employee center homefind_real_file.png

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Are you using taxonomy on your Employee Center portal? The "popular topics" widget uses this, so if you are not using this on your Employee Center portal (having it disabled or the m2m removed), then the widget won't populate anything.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Are you using taxonomy on your Employee Center portal? The "popular topics" widget uses this, so if you are not using this on your Employee Center portal (having it disabled or the m2m removed), then the widget won't populate anything.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Thanks Mark.

I found that in the Employee taxonomy, under Portals related list my portal is listed but isn't active..

Changing it to active fixed my issue..

 

shloke04
Kilo Patron

Hi,

Screenshot which you have attached is of Page Designer which will not show you Popular topics there.

Have you tried navigating to the portal at below URL:

https://instance.service-now.com/esc

Replace "instance' with your instance name.

By default OOB popular topics gets visible on the portal. Can you share the screenshot of your portal here?

Widget name : Popular topics

So within this widget in HTML below line is the one which controls what topics to display:

ng-repeat="topic in data.popularTopics">

Server Side:

data.popularTopics = new PopularTopicsUtil().getPopularTopics(taxonomy, limit, false);

If it is not displaying , you may need to navigate to this Script Include "PopularTopicsUtil" and check this function "getPopularTopics" and see if that has been modified or customized for you.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

So for your reference the way it works OOB, Glide Record query is made on this Table "Topic Metrics(sn_ex_sp_topic_metric)" and then based on the calculation defined in Script include topics are displayed:

find_real_file.png

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke