Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

View count for Knowledge articles

Gowtham29
Tera Expert

Hi Everyone,

 I have knowledge article and it has 98 views in the portal view and same views from the IT view also, but when i pull report for that article on the table kb_use, view count shows as some 200+ views.

Can anyone, let me know, how this view count will work and how to make all these view count same. Please help me. Thank you in advance

Portal View:-

find_real_file.png

IT View:-

find_real_file.png

Views from kb_use table:

find_real_file.png

 

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

I encountered the same issue but I eventually figured out that the view count (which I understand is what you are referring to as sys_view_count) in the kb_knowledge table displays view count for the past 3 months.

Whereas the view count in the kb_use table displays the view count from all time, hence the discrepancy between the two.

If you want to have the same data, just set the system property glide.knowman.view_age.days to 0.

If I have answered your question, please mark my response as correct and/or helpful.

Thank you

Cheers
Alberto

View solution in original post

5 REPLIES 5

VigneshMC
Mega Sage

"glide.knowman.view_age.days" property controls number of days to consider when calculating view count.

he view_count field in the knowledge record will be updated periodically to reflect the view count based on this property.

Enter 0 to have ServiceNow consider all views, regardless of date.

Read more here:

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/product/knowledge-management/ref...