From Bright Pattern Documentation
(Created new topic from branched topic Documentation:ServicePattern:desktop-integration-api-net-version-tutorial:Favorites:5.1) |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = 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: | ||
Line 18: | Line 18: | ||
<center>[[desktop-integration-api-net-version-tutorial/RecentInteractions|< Previous]] | [[desktop-integration-api-net-version-tutorial/Notifications|Next >]]</center> | <center>[[desktop-integration-api-net-version-tutorial/RecentInteractions|< Previous]] | [[desktop-integration-api-net-version-tutorial/Notifications|Next >]]</center> | ||
− |
Latest revision as of 04:31, 29 May 2024
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);