In order to have the characteristic model adhering to the referenced values configuration, users can now set up value providers directly within the characteristics model. Use the following value providers to define the dependencies between the lookup values:
Lookup of parent characteristic: Filters the lookup values based on the selected parent characteristic if it contains referenced values that match the lookup list of it.
Lookup of sibling characteristic: Filters the lookup value based on the selected sibling characteristic if it contains referenced values that match the lookup list of it.
For example, consider two lookup lists - 'Country of origin' and 'Organic labels and certifications'. Some values from 'Organic labels and certifications' are added as dependent values to 'Germany' from the 'Country of origin' lookup list shown above.
Within Characteristics, 'Organic label' field is set to show values based on the parent characteristic 'Country of origin'. Now, the user can see only a subset of values for 'Organic label' dependent on the value selected for 'Country of origin' despite of having lot more values in the associated lookup list overall.
In addition, it is also possible to contribute a customized value provider implementation via the CharacteristicValueProvider extension point. An SDK example has been added to this release to get a better idea of these enhancements. Customized value providers enhance the out-of-the-box possibilities and can for example filter lookup value lists based on the structure group and item is classified into, etc.
For more information about using the value provider extension point, see the
How to register and use a characteristic value provider with parameters