Hide "Related Articles" for Catalog Items in Service Portal

Michael H1
Tera Guru

Hi,

Apologies if this is in the wrong forum but I'm trying to figure out how to hide the "Related Articles" related list on catalog items in the Service Portal. I have attempted following this article without much luck: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0812544

I have configured the related lists on multiple views (sp, default_view, etc...) but this list still displays for Catalog Items in which the "Related Articles" related list has items populated.

MichaelH1_0-1691509600834.png(Configuration option I see based on information provided in the above article)

MichaelH1_1-1691509622899.png(The related list still appears)

How can I go about hiding this related list for Catalog Items when individuals are in the Service Portal? Do I need to edit the widget (SC Catalog item?) that is responsible for displaying a catalog item in the Service Portal? And if so, would I use the following to accomplish hiding this? I'm not sure where I would put this in the actual widget, however.

g_form.hideRelatedList('task_sla.task',true);



 

 

8 REPLIES 8

Michael H1
Tera Guru

^ My mistake. I am unable to edit a post but for the hideRelatedList item, I listed the wrong table. In this case it would be sc_2_kb which houses the related KBs.

Hello @Michael H1 ,

Just to double check you applied the same steps as  below 

once you open the form view of the catalog item you can see an three lined symbol on top of the form and once you click on it you can see "Related lists" option and once you click it will take you to a page to select and remove related lists from slush bucket.You might have to remove the related list from right bucket and shift it to left one and save it.

While doing it see the view and select your view accordingly and perform the above step .

Refer below screenshots 

Screenshot 2023-08-08 at 21.53.00.png

Screenshot 2023-08-08 at 21.53.05.png

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks

Hi Mohith,

Yes, for a Catalog Item I have gone to
https://<our_instance>/sp?id=form&table=sc_cat_item&sys_id=<sys_id_of_cat_item>&view=sp  and can view the related lists and removed "Related Articles".

MichaelH1_0-1691518171011.png

MichaelH1_1-1691518180959.pngMichaelH1_2-1691518186394.png


As you can see, however, the "Related Articles" still shows up at the bottom of this catalog item in the Service Portal:

MichaelH1_3-1691518301918.png


I have also attempted to perform this for multiple other views such as the Default View but this related list still displays. I'm unsure of if I need to be hiding it within the actual widget that is responsible for displaying a catalog item page or not, and if so, how to perform that.

 

Pardon the bombardment of replies, but we do want this related list to display when viewing the catalog item under "Maintain Items" as a developer/admin, just not in the Service Portal. We want to limit people in the Service Portal from viewing this related list. I should have mentioned the purpose initially.