5 views

Symptoms


Text for article results in the he "CSM Search Results with Multiple KB" widget only shows 200 characters of text. For some customers this may be too short. 

Release


Jakarta+

Cause


This value is hardcoded to be 200 characters by design.

Line 186 of the Server Script in the "CSM Search Results with Multiple KB" widget contains the line of code which truncates the text down to 200 characters.

article.text = article.text.substring(0, 200); 

Resolution


Although it is a customization and therefore not supported, you can Clone the OOB widget and either change the hardcoded value or pull it out into a widget instance option and set the value there. 

Additional Information


Widget options schema

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/build/service-portal/concept/c_WidgetInstanceOptions.html

Article Information

Last Updated:2018-04-11 10:39:46
Published:2018-04-03