locked
How to store session in Unified Service desk and restore that. RRS feed

  • Question

  • Hi, 

    I am not able to restore the session in unified service desk, I am using following code. 

    AgentDesktopSession IadSession = (AgentDesktopSession)_localSessionManager.ActiveSession;
                    string myXml = File.ReadAllText(@"PathOfSerializedSession");//I have serialized the session at the path.
                    //_sessiotranInfo.RetriveSessionInfo(myXml, IadSession);
                    IadSession.Restore(myXml);
                    CustomerEntity _customerentity = IadSession.Customer;
                    int _id = IadSession.CallId;
                    byte[] bytes = new byte[16];
                    BitConverter.GetBytes(_id).CopyTo(bytes, 0);
                    this.desktopAccess.OpenSession(_customerentity, new Guid(bytes));


    Please let me know if you have solution for this. Thanks




    • Edited by Chandan02 Tuesday, September 22, 2015 4:32 AM improved question
    Tuesday, September 22, 2015 4:30 AM