From Bright Pattern Documentation
Jump to: navigation, search
 
 
Line 1: Line 1:
 
<translate>= Directory=
 
<translate>= Directory=
 
 
There are two types of [[agent-guide/HowtoUsetheDirectory|directory]] items in the ''AgentPlace'' object that are available immediately after the agent logs in: users grouped in '''teams''', and static entries grouped in '''categories''' (folders).
 
There are two types of [[agent-guide/HowtoUsetheDirectory|directory]] items in the ''AgentPlace'' object that are available immediately after the agent logs in: users grouped in '''teams''', and static entries grouped in '''categories''' (folders).
  
  
 
'''The list of Team objects can be accessed via:'''
 
'''The list of Team objects can be accessed via:'''
 
+
public SortedDictionary&lt;string, Team&gt; teams;
::''public SortedDictionary&lt;string, Team&gt; teams;''
 
 
 
  
 
This list corresponds to the [[contact-center-administrator-guide/Teams|teams]] in the Contact Center Administrator application. The ''User'' list associated with a ''Team'' is loaded on demand by the following method in ''Team'':
 
This list corresponds to the [[contact-center-administrator-guide/Teams|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);
::''public void requestMembers(bool includeLoggedOut);''
 
 
 
  
 
When the ''User'' list is available, the following event from the ''AgentPlace'' is raised:
 
When the ''User'' list is available, the following event from the ''AgentPlace'' is raised:
 
+
public event TeamMembersReceivedCallback teamMembersReceivedCallback;
::''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:
 
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();
::''public void subscribe();''
 
 
 
  
 
When any change in attributes of a team member occurs in that team, the following method is raised:
 
When any change in attributes of a team member occurs in that team, the following method is raised:
 
+
public event UserInfoUpdatedCallback userInfoUpdatedCallback;
::''public event UserInfoUpdatedCallback userInfoUpdatedCallback;''
 
 
 
  
 
Note that only one team subscription is allowed at a time (a new subscription will cancel the previous team subscription).
 
Note that only one team subscription is allowed at a time (a new subscription will cancel the previous team subscription).
Line 33: Line 22:
  
 
'''The list of DirectoryCategory objects can be accessed via:'''
 
'''The list of DirectoryCategory objects can be accessed via:'''
 
+
public SortedDictionary&lt;string, DirectoryCategory&gt; directoryCategories;
::''public SortedDictionary&lt;string, DirectoryCategory&gt; directoryCategories;''
 
 
 
  
 
This list corresponds to the list of folders of [[contact-center-administrator-guide/StaticEntries|static entries]] in the Contact Center Administrator application. The ''DirectoryItem'' list associated with ''DirectoryCategory'' is loaded on demand by the following method in ''DirectoryCategory'':
 
This list corresponds to the list of folders of [[contact-center-administrator-guide/StaticEntries|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();
::''public void requestItems();''
 
 
 
  
 
When the DirectoryItem objects are available, the following event from ''AgentPlace'' is raised:
 
When the DirectoryItem objects are available, the following event from ''AgentPlace'' is raised:
 +
public event DirectoryItemsReceivedCallback directoryItemsReceivedCallback;
  
::''public event DirectoryItemsReceivedCallback directoryItemsReceivedCallback;''
 
  
  
  
  
<center>[[desktop-integration-api-net-version-tutorial/EnteringDispositionsandNotes|< Previous]]  |  [[desktop-integration-api-net-version-tutorial/RecentInteractions|Next >]]</center>
 
 
</translate>
 
</translate>

Latest revision as of 20:19, 13 May 2019

• 5.19 • 5.2 • 5.3 • 5.8

Directory

There are two types of directory items in the AgentPlace object that are available immediately after the 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 is 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 is 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 the 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 is raised:

public event DirectoryItemsReceivedCallback directoryItemsReceivedCallback;



< Previous | Next >