This widget could not be displayed.
This widget could not be displayed.

Service Portal Standard Changes

Steven Parker
Giga Sage

Can anyone tell me how to hide the "Standard Changes" in the Service Portal?

find_real_file.png

These are our Standard Change templates, but we don't want people to use them in the Service Portal.   We need to hide them in the Service Portal, but NOT in the ITIL View. ITIL users still need to be able to access them in the backend ITIL view.


Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
1 ACCEPTED SOLUTION

Arindam Ghosh
Mega Guru

Create a Boolean type column (is_portal) in "sc_category" table. and make this column value true for those category which you want to display in portal.



Now update(clone) the "SC Categories" widget server script like below:



var sc = new GlideRecord('sc_category');


sc.addQuery('sys_class_name', 'sc_category');


sc.addQuery('is_portal', 'true'); // Add this condition


sc.addActiveQuery();



and map the new widget in the page, where you are displaying this widget.



Thanks,


Arindam


View solution in original post

18 REPLIES 18

Arindam Ghosh
Mega Guru

Create a Boolean type column (is_portal) in "sc_category" table. and make this column value true for those category which you want to display in portal.



Now update(clone) the "SC Categories" widget server script like below:



var sc = new GlideRecord('sc_category');


sc.addQuery('sys_class_name', 'sc_category');


sc.addQuery('is_portal', 'true'); // Add this condition


sc.addActiveQuery();



and map the new widget in the page, where you are displaying this widget.



Thanks,


Arindam


Nevermind I got it!   Thanks!



Please mark this response as correct and/or helpful if it assisted you with your question.
Steven

Cool.You welcome


This is kind of hard-customizing as you need to make new column to OOB table (which is not best practice).


Thus you need to customize the OOB portal widget by cloning it...



Better solution for this is:



1. Move Standard Change Category to some Catalog which you are not using in Portal (for example Technical Catalog or make new)


2. Use the Catalog with the normal UI - ITIL view.



Br. Ville Kuhlman