Cora Knowledge Center

Support

Remove the New Request button from Case

In Ops Manager, 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:

  1. Hide new request in the case:
    1. Create a view HideNewRequest (in Customizable Views > Client Properties Views).
    2. 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>
    3. Add the following to the bottom of all other views in this form:
      <sq8:SubView runat="server" ID="svHideNR" VirtualPath="hideNewRequest.ascx"></sq8:SubView>
  2. Hide “My Task” menu item.
    1. Go to C:\Program Files\PNMsoft\Shared Resources\Components\Flowtime\Config\Portal\Commands, on your system. 
    2. Edit the OpsCenter.xml file. 
    3. Comment these tags.
      <MenuItem
      Id="OpsCenterMyTasks" Command="OpsCenterMyTasksCommand"
      Text="{$resources.MyTasks}" Tooltip="{$resources.MyTasks}"
      CssClass="sqpt-aggregation-tasks"></MenuItem>