I’ve tested the Genesys WDE sample code for disposition code. Into this sample, the view was developed to implement the check box for disposition code selection instead of the radio buttons, but it doesn’t work because it show me always the radio buttons.
Hi,
into the log there aren’t error, but in WDE 8.5 developer’s guide, at page 157 it’s explain how replace the disposition code view with check box. In the sample “Genesyslab.Desktop.Modules.ExtensionSample” there is the DispositionCodeExView.xaml that contains radio button implementation instead of check box.
Why the guide contains a check box example that it’s not developed and how can I develop the check box feature?
Idea is you to replace the existing view with yours. The original code of radio button obviously doesn’t exist as it is embedded on the WDE. You need to create yours and replace existing one. That is explained on docs.
I’ve made the change that you’ve indicated into the ExtensionSample at the DispositionCodeExView.xaml and leaving the rest of code unchanged.
The problem is that into the Disposition View it’s not allowed to select more than one Disposition Code because the tick select only one Disposition code and if I try to check another Disposition Code the previous one will be deselected. The tick is also not visible.
This is the method into the DispositionCodeExView.xaml.cs:
private void radioButton_Checked(object sender, RoutedEventArgs e)
{
interaction = Model.Interaction;
if (isEnabledChangeAttachedData)
{
if (Model.Interaction != null)
if (Model.Interaction.DispositionCode.SelectedDispositionCodeValue != null)
{
interaction.SetAttachedData(interaction.DispositionCode.CodeKeyName, interaction.DispositionCode.SelectedDispositionCodeValue.Name);
}
else
interaction.RemoveAttachedData(interaction.DispositionCode.CodeKeyName);
}
}
}