We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Adding the 'description' to Catalog Item cards in catalog

brandonjoyce
Tera Contributor

When I go to the Service Catalog 

and click on something like "Software"

 

When you look at the category you see the 'name' and the 'short_description' displayed

brandonjoyce_0-1772747846357.png

 

name = adobe workfront

 short_description = software request - Adobe Workfront

 

I don't want it to display short description I want it to display the "description"

 
 

 

 
 

 

 

1 REPLY 1

abdulrehmanArif
Tera Contributor

Hi, 

Short answer to your question, NOT possible Out of the box. 

Reason for that is, servicenow's documented layout takes short_descripion on to this OOB widget. 
also, if you add description, it might get shortened or cut due to the allowed length of text displayed on the widget box. In the catalog listing/category page, ServiceNow’s documented behavior is that Short Description is the text shown on the catalog homepage/search-style listing, while Description is the full text shown after the user opens/selects the item or uses Preview.


Work arounds (customizations, go for it only if you have a strong business reason to do so):

Option 1: Clone the existing OOB widget that displays name and short description and in the html code replace it with description. Remeber to bind it back to the original page so that the custom widget displays. You might face difculties with controling the CSS if you would like to display the full length of text, the box height and width will have to adjust based on the descript text length, and, it is a customization that can effect your upgrades in the future. 

Option 2: Again - a customization that will effect ever single catalog item. 
Increase the max length of the short_description field. ServiceNow documentation states that a dictionary entry’s Max length controls how much text the field can store, and that when a string field is set above 254 characters, it becomes a multi-line text box in the UI. Doing so, you might be able to hold a longer text in the short description field. But again, you might face the height and width adjustment issue, and, it is a customization that can effect your upgrades in the future. 



Please ensure you consider these workarounds very carefully because they can effect the upgrade process and many other areas due to customizations involved. 

So I highly recommend sticking with the OOB approach and keep utilizing the short_description field. 


Hope this helps

Thank you.
Abdul Rehman Arif
XAAS Solutions.