Author Topic: How to get attached data with .NET Toolkit ApplicationBlocks?  (Read 5384 times)

Offline mrbasinger

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
How to get attached data with .NET Toolkit ApplicationBlocks?
« 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

Offline juryger

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: How to get attached data with .NET Toolkit ApplicationBlocks?
« Reply #1 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;
                    }
                }
            }
        }
    }
}

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to get attached data with .NET Toolkit ApplicationBlocks?
« Reply #2 on: August 21, 2014, 06:27:46 AM »
This type of SDK does not exist, so nobody cannot share.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: How to get attached data with .NET Toolkit ApplicationBlocks?
« Reply #3 on: August 21, 2014, 09:08:38 PM »
Not sure if this is a spam or annoy bot...Considering blocking this account

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to get attached data with .NET Toolkit ApplicationBlocks?
« Reply #4 on: August 22, 2014, 11:33:50 AM »
Stop bot this forum and contact your Genesys contact directly, sir!