Features of Unique Keys in Multilingual MDM Dictionaries

Article number: KB000033

General Information

Related blocks:

Problem

On casting of multilingual MDM dictionaries to the IDimInstance interface the IDimInstance.Elements property does not contain elements, though they are included into a dictionary.

Cause

There is a violation in a MDM dictionary  unique keys.

The similar case is when an attribute translated into an additional language is marked as an unique key, and a translation of two or more elements coincides.

For example:

Result: If repository language is Russian, the IDimInstance.Elements property returns actual quantity of elements in a MDM dictionary; if repository language is English, the IDimInstance.Elements property will return no element.

Solution

A unique key must consist of the attribute, values of which are unique for each MDM dictionary element in any language. If an MDM dictionary does not have a single unique attribute, then the key may compiled of several attributes, which aggregated values ensure the uniqueness of values in any language.

See also:

Developers Knowledge Base