Quantcast
Viewing all articles
Browse latest Browse all 2504

Phone number is not added to phone menu (2 Comments)

Topic by Andrey Tyurin

Content

Hello,

Does anybody know why I cannot see phone number in the phone combo box for new contact? If I select phone manually, textbox contains the number, but it is missed in the drop down menu.

Code:

IRecordContext workspace = RightNowGlobalContext.AutomationContext.CreateWorkspaceRecord(WorkspaceRecordType.Contact);
EventHandler dataLoaded = null;
dataLoaded = (s, e) =>{
    IContact contact = (IContact)workspace.GetWorkspaceRecord(WorkspaceRecordType.Contact);
    contact.PhHome = ani;    // <- number is added, but it is not visible in the drop down menu
    workspace.DataLoaded -= dataLoaded;                                
};
workspace.DataLoaded += dataLoaded;

 

Version

Service Cloud, February 2015

Code Block

Image

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 2504

Trending Articles