Currently, we are using Spectrum version 20.2.10, and we would like to know how we can hide the OneClick WebApp link from the OC web menu.
Until version 10.3.1 we were able to do it by changing the file console-menubar.jsp file. Do you have any advice for the current version?
Release : 20.2
Component : Spectrum OneClick
Edit the $SPECROOT/tomcat/webapps/spectrum/console/console-menubar.jsp file and comment out the following section to archive hiding the OneClick WebApp link from the OC page, and then bounce the Spectrum Tomcat service to put the change in place:
<% if ( request.isUserInRole("Administrator") == true ||
request.isUserInRole("Operator") == true )
onMouseOver="window.parent.status='<apputil:message key='console-menubar.Lite-OC'/>';return true;"
rel="noopener noreferrer" target="_blank"><apputil:message key='console-menubar.Lite-OC'/></a>
<% } %>
Add the <!-- and --> to comment out the section from line 111 to 120.
Stop/start the Spectrum Tomcat service. The OneClick WebApp hyperlink is no longer displayed.
If you want to hide the OneClick WebApp hyperlink only for the Operator accounts, change from true to false on line 112.