Distributed: Boolean;
The Distributed property determines whether an attribute that contains a unique identifier of elements in the MDM dictionary is available.
Default property value is False, if the property is set to True, the dictionary contains a basic attribute GUID, which values is unique global identifier of the elements.
Executing the example requires the MDM repository NSI_1 that contains an MDM dictionary with the Dict_1 identifier.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Dict: IRdsDictionary;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemByIdNamespace("Dict_1", MB.ItemById("NSI_1").Key).Edit;
Dict := MObj As IRdsDictionary;
Dict.Distributed := True;
MObj.Save;
End Sub Main;
After executing the example the Dict_1 dictionary contains an attribute that has unique elements identifiers.
See also: