Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: bharath on December 05, 2017, 07:44:49 AM
-
Hi,
Can any one help how to update the text in notepad (using notepadviewmodel).
thanks in advance.
-
Hi,
Depending on how and where you want to update the text in Notepad the best place to start would be to get the interaction and then use the code below:
[code] INotepadViewModel notepadViewModel = inter.UserData.TryGetValue("NotepadViewModel") as INotepadViewModel;
if (notepadViewModel != null)
{
notepadViewModel.Text = "My Text";
}[/code]