Re: Adding Departments/Agents from external Application

  •  11-17-2008, 9:09 AM

    Re: Adding Departments/Agents from external Application

    Hi,
     
    You should not write the table directly.
     
    please use CuteChat API :
     
       ChatPortal portal=ChatSystem.Instance.GetCurrentPortal();
       lock(portal)
       {
        portal.DataManager.AddDepartment("mydepartment");
        portal.DataManager.AddAgent("mydepartment","User:username"));
       }
     
    Regards,
    Terry.
View Complete Thread