Hide "Related Articles" for Catalog Items in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 08:49 AM
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.
(Configuration option I see based on information provided in the above article)
(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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 08:51 AM
^ 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 09:25 AM
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
Hope this helps
Mark the answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 11:12 AM
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".
As you can see, however, the "Related Articles" still shows up at the bottom of this catalog item in the Service Portal:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 11:14 AM
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.