From Bright Pattern Documentation
Jump to: navigation, search
Tracy (talk | contribs)
No edit summary
 
Tracy (talk | contribs)
No edit summary
Line 1: Line 1:
<translate>= Favorites=
<translate>= 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);''




The list of favorites is available in the following property in ''AgentPlace'' after agent login:
The list of favorites is available in the following property in ''AgentPlace'' after agent login:
 
public SortedDictionary&lt;string, Favorite&gt; favorites;
::''public SortedDictionary&lt;string, Favorite&gt; favorites;''




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);''






<center>[[desktop-integration-api-net-version-tutorial/RecentInteractions|< Previous]]  |  [[desktop-integration-api-net-version-tutorial/Notifications|Next >]]</center>
</translate>
</translate>

Revision as of 20:20, 13 May 2019

<translate>= 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);



</translate>

< Previous | Next >