From Bright Pattern Documentation
< 3.12:Desktop-integration-api-net-version-tutorial
Revision as of 20:54, 3 August 2016 by Sasha (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:desktop-integration-api-net-version-tutorial:Directory:3.11)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

Directory

There are two types of directory items in the AgentPlace object that are available immediately after agent logs in, users grouped in teams and static entries grouped in categories (folders).


The list of Team objects can be accessed via:

public SortedDictionary<string, Team> teams;


This list corresponds to the teams in the Contact Center Administrator application. The User list associated with a Team is loaded on demand by the following method in Team:

public void requestMembers(bool includeLoggedOut);

When the User list is available, the following event from the AgentPlace would be raised:

public event TeamMembersReceivedCallback teamMembersReceivedCallback;


If your application needs to receive notifications about changes in attributes of a team member, the following method in Team should be invoked:

public void subscribe();

When any change in attributes of a team member occurs in that team, the following method would be raised:

public event UserInfoUpdatedCallback userInfoUpdatedCallback;

Note that only one team subscription is allowed at a time (a new subscription will cancel the previous team subscription).


The list of DirectoryCategory objects can be accessed via:

public SortedDictionary<string, DirectoryCategory> directoryCategories;


This list corresponds to list of folders of static entries in the Contact Center Administrator application. The DirectoryItem list associated with DirectoryCategory is loaded on demand by the following method in DirectoryCategory:

public void requestItems();

When the DirectoryItem objects are available, the following event from AgentPlace would be raised:

public event DirectoryItemsReceivedCallback directoryItemsReceivedCallback;



< Previous | Next >
< Previous | Next >