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

We figured it out..we had to had the person that elevate rigths update the ACLS for stnd change to allow admins the rights to modify Standard CHG templates

BigMikeyVegas
Tera Guru

Why wouldn't you browse to Service Catalog > Catalog Definitions > Maintain Categoried, then browse to STandard Changes, Template Management, and any other Standard Change items that you have and use the 'Available For' tab to limit access to ITIL users or a subsect of ITIL users, depending on your instance's configuration. Or even, just uncheck 'Show in CMS'.

Where is the uncheck "show in CMS at?  I am not finding it.  Thanks.  I want it to not display in portal, but need it in the analyst side.  Thanks.

Ian Mildon
Tera Guru

This is a two step process.

1. Add the field "hide on service portal" to the Standard Change Template form and check it (you'll have to update all the templates so this field is true)

2. Modify the Service Portal search parameters Service Portal>Search Sources>Service Catalog and add this to the Data Fetch Script in the sc_cat_item query section:

sc.addQuery('sys_class_name', '!=', 'std_change_record_producer');

find_real_file.png

Now they will be hidden from the portal and not come up in portal searches, but will still come up in global searches elsewhere in the system.