Custom Sort Order for Knowledge Articles in Knowledge Search Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 12:08 PM
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.
- Labels:
-
Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 03:20 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 08:46 AM
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).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 09:08 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 10:49 AM
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?