In a base system, the order in which the knowledge base articles appear on the Service Portal is based on the sys_id of the articles.


  1. Clone the KB Category Page widget (Service Portal > Widgets)
  2. Update the Body HTML template.
  3. To sort the articles by their publishing date, add the "orderBy : '-published'" parameter in line 11 of your cloned KB Category Page widget:
    • <div role="listitem" ng-repeat="kb_article in data.items| orderBy : '-published'" class="sp-kb-topic-article m-b-lg">
    • Note: Adding + or - prefix on orderBy parameter will order by + (ascending) or -(desc);
  4. Save the change.
  5. Open the Service Portal page designer:
    • /$
  6. Remove the default "KB Category Page" widget from the page.
  7. Drag and drop the cloned  "KB Category Page" widget to the page.

Article Information

Last Updated:2019-12-20 05:59:34