How to exclude a catalog item from appearing in the popular items list on Service PortalIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Learn how to exclude a catalog item from appearing in the popular items on Service Portal. ReleaseAny supported release including Madrid, London, and Kingston.ResolutionThe SC Category page widget retrieves Popular Items through its getPopularItems function, which builds the query in its server script. To exclude items from the query results list, you need to: Create a new boolean field in the Catalog Item [sc_cat_item] table.Clone the SC Category Page [sc-category] widget Add the new field to the query. Detailed example In the SC Category Page [sc-category] widget: Create a new field named Exclude from popular items: [u_exclude_from_pop_items]. By default, this field is set to false. For each item you want to exclude, set the Value of this field to true.Clone the widget.Modify the count variable created in the server script that holds the query using the following code. In the Madrid release, this is found on line 164 and redefined for record producers on line 191.[code]<code>count.addQuery('u_exclude_from_pop_items',false);</code>[/code]After you update the cloned widget, swap the default version of the widget for the custom version.