Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: mrbasinger on October 29, 2008, 06:44:03 PM

Title: How to get attached data with .NET Toolkit ApplicationBlocks?
Post by: mrbasinger on October 29, 2008, 06:44:03 PM
Can anyone please share an example of how to get attached data from the current interaction using the Agent Desktop .NET Toolkit ApplicationBlocksFor.Net?  Specifically, I am trying to modify the VoiceSample VoiceToolbar class to get the attached data when a new call is received.  I'm unclear of how to use com.genesyslab.ws.ail.interaction.AttachedData to do this.  And, I tried using the AgentDesktopToolkit.Interactions.AttachedData class but had issues getting the ConnectionLink to work.

Any help would be appreciated.  Thanks
Title: Re: How to get attached data with .NET Toolkit ApplicationBlocks?
Post by: juryger on November 19, 2008, 03:53:19 PM
Hi, here is example of using Application Blocks for .NET. If you need additional explanation, please ask.

using com.genesyslab.ail.ws.interaction;
class GenesysApplicationBlocksExample
{
private Genesyslab.Desktop.ApplicationBlocks.Interactions.Batch m_batch = null;
    void m_batch_InteractionChanged(object sender, InteractionEventArgs e)
    {
        if (e.EventReason == InteractionEventReason.RINGING)
        {
            AttachedData[] attachedData = iv.GetInteractionAttachedData();
            if (attachedData != null)
            {
                foreach (AttachedData item in attachedData)
                {
                    switch (item.key.ToString())
                    {
                        case GlobalConstants.GENESYS_ATTACHEMENT_TIME_OF_START:
                            timeOfStart = item.value.ToString();
                            break;
                        default:
                            break;
                    }
                }
            }
        }
    }
}
Title: Re: How to get attached data with .NET Toolkit ApplicationBlocks?
Post by: Kubig on August 21, 2014, 06:27:46 AM
This type of SDK does not exist, so nobody cannot share.
Title: Re: How to get attached data with .NET Toolkit ApplicationBlocks?
Post by: cavagnaro on August 21, 2014, 09:08:38 PM
Not sure if this is a spam or annoy bot...Considering blocking this account
Title: Re: How to get attached data with .NET Toolkit ApplicationBlocks?
Post by: Kubig on August 22, 2014, 11:33:50 AM
Stop bot this forum and contact your Genesys contact directly, sir!