The CreatorCon Call for Content is officially open! Get started here.

Hide the Catalog Item Description in Portal

Sivakrishna
Kilo Sage

Hi,

     I have Catalog item, having short description and description, these two fields are visible in portal. I want to hide values of short description and description in portal. I have attached the snaps for reference.

 

Thanks in advance..

 

 

With Regards

 

P. Sivakrishna

12 REPLIES 12

You will get lot of threads with that code, I found one below, try with this. However I still insist not to use DOM manipulation as this is not recommended by ServiceNow.

https://www.servicenow.com/community/developer-forum/dynamically-show-hide-catalog-item-s-short-desc...

Please hit like and mark my response as correct if that helps
Regards,
Musab

@Musab Rasheed ,

Tried but not worked through DOM manipulation. 

 

With Regards

 

P. Sivakrishna

Anubhav24
Mega Sage

Hi @Sivakrishna ,

The snap you have attached is of the catalog item definition , and you want to hide the short description and description field on portal ? Can you attach a snap of how the item is appearing on portal.

Hi @Anubhav24 ,

                              Thanks for your immediate response. I have enclosed the snap of portal view of a catalog item having short_description and description.

 

With Regards

 

P. Sivakrishna

You may need to then edit the widget I think , also I am not good at Service Portal so some other colleague might be able to help you display it conditionally.