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

Musab Rasheed
Tera Sage

Hello,

Remove both values from Catalog item form and automatically it will hide in Portal.

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

Hi @Musab Rasheed 

Thanks for your immediate response. I know this requirement will be achieved by removing values of the fields but that's not my requirement. Can we hide based on some condition with out removing the values  in portal??

 

With Regards

 

P. Sivakrishna

I'm afraid it is not possible to do this without DOM manipulation which Servicenow doesn't recommend. However you can clear both values in catalog form and create two variables of type 'Label' and treat them as short and description. With this you can create UI policy to hide them, it will also come below catalog item name in portal if you play around with order of variables.

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

@Musab Rasheed ,

Once again thank you for your response. In our organization, for creating a new variable need to be taken prior approval. So this will not be possible. Please can you tell me the DOM manipulation??

 

With Regards

 

P. Sivakrishna