Notifications

29 views

Description

Property 'glide.knowman.search.show_rating' is ignored by Knowledge Portal search widgets

Steps to Reproduce

  1. Log in to a Madrid Instance and set the property 'glide.knowman.search.show_rating' to False.
  2. Navigate to /kb and use the search bar to search for a random keyword (ie: test)

    Expected behavior: Knowledge search results should not display ratings and the behavior should be coherent with searching from /$knowledge.do where the property is properly considered.
    Actual behavior: Search ratings are displayed and the property 'glide.knowman.search.show_rating' is ignored.

Workaround

The below workaround can be used for now:

  • Switch to the application "Knowledge Management - Service Portal"
  • Clone the widget "Knowledge Result"
  • In the cloned widget Change the following line from:
 fields.push('rating'); 

to :

if(gs.getProperty("glide.knowman.search.show_rating") == "true") 
fields.push('rating');
  • Make sure that the angular ng templates below are moved to the cloned widget:
    /sp_ng_template_list.do?sysparm_query=sp_widget%3Dff26f2b1db12220099f93691f0b8f5ce%5E
    The above link should load the templates:
     
    • kb_result_pinned_article_summary
    • kb_result_article_summary

Related Problem: PRB1349067

Seen In

There is no data to report.

Intended Fix Version

London Patch 10
Madrid Patch 6
New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-05 05:35:14
Published:2019-06-17