- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2017 10:45 AM
Can anyone tell me how to hide the "Standard Changes" in the Service Portal?
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2017 11:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2017 11:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2017 11:17 AM
Nevermind I got it! Thanks!
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2017 11:34 AM
Cool.You welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 06:20 AM
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