Genesys CTI User Forum > Genesys-related Development

WDE - update text in notepad

(1/1)

bharath:
Hi,
Can any one help how to update the text in notepad (using notepadviewmodel).

thanks in advance.

PeteHoyle:
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]

Navigation

[0] Message Index

Go to full version