PureEngage On-Premises

 View Only

Sign Up

  • 1.  Disable Force Closing a Case in IWS

    Posted 10-19-2015 05:44
    Hi All,

    In IWS an option apears "Force Close" if we right click on top of the open interaction in IWS.

    Is there any way to dissable that option.

    We are using Interaction Workspace 8.5


  • 2.  RE: Disable Force Closing a Case in IWS

    Posted 10-22-2015 01:02
    Yes....that is possible but through customization. We achived it for 8.1.

    Steps:

    1. Insert ShowInteractionsWindow in chain of command.
    2. Unde Execute find InteractionsWindow from parameters to get current ixn window reference.
    3. Find 'TabItem' control named 'Genesyslab.Desktop.Modules.Windows.Interactions.CaseHeaderView' in current ixn window.
    4. Once you have reference of this TabItem, you can disable it now.

    Regards,
    Rohit Gupta


  • 3.  RE: Disable Force Closing a Case in IWS

    Posted 07-21-2016 10:25
    Hi Rohit,
    Thanks for that. Are you able to illustrate with some code how you got the reference to the CaseHeaderView - I can't get past getting the reference to the InteractionsWindow
    thanks,
    Mick


  • 4.  RE: Disable Force Closing a Case in IWS

    Posted 07-21-2016 13:32
    Actually, I finally got this done. Thanks for your start point:
    Windows.Interactions.IInteractionsWindow window = (Windows.Interactions.IInteractionsWindow)parameters("CommandParameter");
    
    if (window != null) {
        try {
           Genesyslab.Desktop.Modules.Windows.Interactions.InteractionsWindow win = window;
            Windows.Interactions.CaseView casev = win.Model.ActiveCaseController.CaseView;
            Windows.Interactions.CaseHeaderView chv = casev.DataContext.Header;
            chv.IsEnabled = false;
        } catch (Exception ex) {
            log.Error(ex.Message, ex);
        }
    
    }
    


  • 5.  RE: Disable Force Closing a Case in IWS

    Posted 12-08-2016 11:06
    Hi guys,
    The command "ShowInteractionsWindow" doesnt seem to be working in 8.5.1 .
    I tried to register the command and atleast reach at the point where my code will run in debug mode but seems like it never reaches there.

    Is there any other command to disable force close ?