Hi Paul. Thanks for responding. I have since gone the route you noted above doing the following:
_session = serviceProvider.GetService(typeof(Session)) as Session;
But it's returning null.
What I'm looking to achieve is to use the session to get some details of the logged in user and station and then use that to pull some details out of the interaction summary table.
Thank you.
------------------------------
Sean McGrath
Avtex Solutions, LLC
------------------------------
Original Message:
Sent: 08-26-2020 13:12
From: Paul Simpson
Subject: IceLib error creating a session
Sean,
Client Tap add-ins do not work the same way as "regular" ICELib applications.
Instead of instantiating a Session Object, you are passed an IServiceProvider object in the constructor for the main add-in object. You can then use this to get things like Queue information.
Can you explain what you are trying to achieve and we may be able to provide more detail...
------------------------------
Paul Simpson
Senior Technical Instructor
Original Message:
Sent: 08-24-2020 17:16
From: Sean McGrath
Subject: IceLib error creating a session
Hi,
I'm working on an add in for Interaction Desktop using IceLib. When I create a session (session = new Session();) I get the following error.
#Implementation
#Unsure/Other
------------------------------
Sean McGrath
Avtex Solutions, LLC
------------------------------