PureConnect

 View Only

Discussion Thread View
  • 1.  simple Customer screen POP UP

    Posted 03-04-2020 00:52
    HI team,


    we had written simple screen pop application to bring up the notepad application when ever the call comes one particular work group. but we are not getting notepad application opening when call reached to an agent. Here we are attaching the code we had written and steps followed after creating the DLL file. I know we can use DDE action to open the notepad application, we had written this application to test the custom screen pop functionality , so that we can use this base for other requirement 

    1. Placed the New DLL file under "C:\Program Files (x86)\Interactive Intelligence\ICUserApps\AddIns"
    2. Created the action as of type "Custom Screen popup" in Interaction Administrator with the same name that we had written in code
    3. Configured this action in the required workgroup under ACD > Action tab

    Code :

    sing System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Diagnostics;
    using System.Text;
    using System.Threading.Tasks;
    using ININ.InteractionClient.AddIn;



    namespace ScreenPopAddIn
    {
    public class ScreenPopSample : ScreenPop
    {
    public override void Pop(IDictionary<string, string> attributes)
    {

    Process.Start("Notepad.exe");

    }

    public override string Name
    {
    get { return "MyScreenPop"; }
    }


    }

    }

    #Handlers
    #PlatformAdministration

    ------------------------------
    Raghav Gupta
    Accenture USA
    ------------------------------


  • 2.  RE: simple Customer screen POP UP

    Posted 03-05-2020 08:18
    Did you do this as well?

    First Steps to Create Any Add-In
    To write any add-in, regardless of its type, first do this:
    1. In Visual Studio, create a class library for the add-in.
    2. In the Visual Studio project, add a reference to the file:
    ININ.InteractionClient.Addin.dll
    You can find the file in the Interaction Desktop installation directory.
    3. In the file AssemblyInfo.cs, in the Assemblies section, add this line:
    [assembly: AddInVersion(AddInVersion.CurrentVersion)]

    Also, you can't include any of the Genesys DLL's in the output of your solution.  Otherwise, they'll get different copies and they won't be loaded correctly. 

    Finally, turn up desktop logs and search for addins - it should give you an idea of where to start.

    ------------------------------
    Jason Loucks
    Agon Consulting Services
    ------------------------------



  • 3.  RE: simple Customer screen POP UP

    Posted 03-05-2020 08:29
    Yes. I followed those steps and kept only my DLL in AddIns folder. 

    I have set interaction Desktop logs at Verbose level and check the logs, i dint find much information

    Interaction.GetWatchedStringAttributeImpl: Attribute:Eic_ScreenPopName, Returning: Custom Screen Pop, InstanceId=2250 2001732783 2366905001 3348 interactiondesktop System Queue:E17132
    15:01:01.935             Interaction.GetWatchedStringAttributeImpl: Attribute:Eic_ScreenPopName, Returning: Custom Screen Pop, InstanceId=2250 2001732783 2366905001 3348 interactiondesktop System Queue:E17132
    15:01:01.935           ScreenPopMonitor.EvaluateInteraction: Validating screen pop for 2001732783 2001732783 2366905001 3348 interactiondesktop System Queue:E17132
    15:01:01.936           ScreenPopService.get_Item: Screen pop requested: Custom Screen Pop 2001732783 2366905001 3348 interactiondesktop System Queue:E17132
    15:01:02.155 ToastMonitor.OnAlertingStartInternal: Notifying the user of a alerting interaction 2001732783 2001732783   4cd8 interactiondesktop  


    ------------------------------
    Raghav Gupta
    Accenture USA
    ------------------------------



  • 4.  RE: simple Customer screen POP UP

    Posted 03-05-2020 08:34
    Do a search for addins in your interaction desktop log - desktop will try to load the addin when it starts up - see what it says when it attempts to load your dll.

    ------------------------------
    Jason Loucks
    Agon Consulting Services
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources