Previous to V3.0
In Cora OpsManager, you have an option to disable the new request feature available on Case details page. To remove the New Request button from Case page, follow these steps:
- Hide new request in the case:
- Create a view HideNewRequest (in Customisable Views > Client Properties Views).
- Add the following code to the view:
<script> Sys.Application.add_load(hideNewRequestButton); function hideNewRequestButton() { var nrBtn = $findByControlId("btnNewRequest"); if(nrBtn) { nrBtn.set_visible(false); } } </script>
- Add the following to the bottom of all other views in this form:
<sq8:SubView runat="server" ID="svHideNR" VirtualPath="hideNewRequest.ascx"></sq8:SubView>
- Hide “My Task” menu item.
- Go to C:\Program Files\PNMsoft\Shared Resources\Components\Flowtime\Config\Portal\Commands, on your system.
- Edit the OpsCenter.xml file.
- Comment these tags.
<MenuItem Id="OpsCenterMyTasks" Command="OpsCenterMyTasksCommand" Text="{$resources.MyTasks}" Tooltip="{$resources.MyTasks}" CssClass="sqpt-aggregation-tasks"></MenuItem>
V3.0 and later
In Cora OpsManager, you have an option to disable the new request feature available on Case details page. To remove the New Request button from Case page, follow these steps:
- Hide new request in the case:
- Create a view HideNewRequest (in the workflow that holds custom views).
- Add the following code to the view:
<script> Sys.Application.add_load(hideNewRequestButton); function hideNewRequestButton() { var nrBtn = $findByControlId("btnNewRequest"); if(nrBtn) { nrBtn.set_visible(false); } } </script>
- Add the following to the bottom of all other views in this form:
<sq8:SubView runat="server" ID="svHideNR" VirtualPath="hideNewRequest.ascx"></sq8:SubView>
- Hide “My Task” menu item.
- Go to Administration > Global Settings > Application Variables.
- Edit the CoraOpsManager.ProcessTasksMenuItemVisibility.
- Change the Value to False.
- Click Update.