Custom Sort Order for Knowledge Articles in Knowledge Search Page

Runi
Kilo Contributor

Hi Forum,

I have a requirement to display knowledge articles in a specific order on the Knowledge Search page. How can I achieve this? I was able to remove/disable the widget that allows users to sort them based on Newest, Most Viewer, etc. I would like all the articles to always be displayed in the Alphabetical and ascending order. Let me know if there is an easy way to achieve this.

Thanks in advance for your help here.

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

This is OOB available with Knowledge Management Service Portal search results page features.

Take a look into below to utilize OOB features for sort order

 

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/concept/knowledge-service-portal-search.html

 

Regards,

Sachin

Thanks Sachin for the reply here.

I came across this widget and it did not really meet my requirement. I am looking to set a specific sort order for the articles displayed in the knowledge search page. This order should not be altered by the user (so, I removed this widget).

Below post has solution to sort KB article based on short description.

You can reuse code to sort KB article based on your field.

 

https://community.servicenow.com/community?id=community_question&sys_id=2438061ddba91b047b337a9e0f961928

 

Regards,

Sachin

Kim27
Tera Guru

Hi Runi, I don't have the answer to your question, but I'm curious about the use case behind the question.

Have you considered usability? For example, if my knowledge article begins with the letter "s", am I to page through the entire list to get to "S". What happens if I search for an article, do the results still show up in alpha order regardless of whether my result is the last article in the list?