Hide 'Create Favorite' from the context menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 06:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 07:30 AM
Comment out lines 123 through 132 in the 'context_form_header' UI Macro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 02:41 AM
Hi Justin,
Thanks for responding, Create favorite should be visible for itil and above users. But the end users should not be able to see it. If I comment the mentioned numbered lines. It is not visible for all users. Am I correct?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 06:37 AM
In that case, replace line 109 with the code below. It checks to see if the user has the 'itil' role.
<j2:if test="$[pm.isActive('com.glide.ui.ui16') == true ${AND} gs.getUser().getPreference('use.concourse') == 'true' ${AND} gs.hasRole('itil')]">
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 07:31 AM
Hi Tony,
Create Favorite context menu comes as a part of UI 16 feature and it would hide if you were to make the system preference Use concourse false.
Better alternative is to comment out the script part that creates the "Create Favorite" context menu option in the macro. (using <!-- -->)