From Bright Pattern Documentation
Jump to: navigation, search
imported>Tracy
 
(Updated via BpDeleteTranslateTags script)
 
Line 1: Line 1:
<translate>= Favorites=
+
= Favorites=
 
The following method from ''AgentPlace'' is used to add a contact to the [[agent-guide/HowtoUseFavoriteContacts|favorites]] list of the logged user:
 
The following method from ''AgentPlace'' is used to add a contact to the [[agent-guide/HowtoUseFavoriteContacts|favorites]] list of the logged user:
 
  public Favorite addToFavorites(string name, string number);
 
  public Favorite addToFavorites(string name, string number);
Line 10: Line 10:
 
The following method from AgentPlace is used to remove a contact from the favorites list:
 
The following method from AgentPlace is used to remove a contact from the favorites list:
 
  public ResultCode removeFromFavorites(string number);
 
  public ResultCode removeFromFavorites(string number);
 
 
 
 
</translate>
 

Latest revision as of 04:13, 29 May 2024

• 5.19 • 5.2 • 5.3 • 5.8

Favorites

The following method from AgentPlace is used to add a contact to the favorites list of the logged user:

public Favorite addToFavorites(string name, string number);


The list of favorites is available in the following property in AgentPlace after agent login:

public SortedDictionary<string, Favorite> favorites;


The following method from AgentPlace is used to remove a contact from the favorites list:

public ResultCode removeFromFavorites(string number);

< Previous | Next >