ObjectLinked: Boolean;
The ObjectLinked property determines whether MDM dictionary attribute is a link to repository object.
Available values:
True. The attribute is a link to repository object.
False. The attribute is not a link to repository object.
Executing the example requires an MDM dictionary with the DIM identifier.
Add links to the Metabase, Rds system assemblies.
Sub UserProc;
Var
MB: IMetabase;
rds: IRdsDictionary;
Attr: IRdsAttribute;
Begin
MB := MetabaseClass.Active;
rds := MB.ItemById("DIM").Edit As IRdsDictionary;
Attr := rds.Attributes.Add;
Attr.Name := "ATTR";
Attr.Id := "ATTR";
Attr.ObjectLinked := True;
(rds As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the attribute with the ATTR identifier that is a link to repository object is added to the specified dictionary.
See also: