ManageVisibility: Boolean;
The ManageVisibility property determines whether MDM dictionary elements are hidden.
Default property value is False, if the property is set to True, the dictionary contains the basic attribute HIDDEN, and changing values of this attribute controls elements visibility.
Executing the example requires the MDM repository NSI_1 that contains the 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.ManageVisibility := True;
MObj.Save;
End Sub Main;
After executing the example the Dict_1 dictionary contains an attribute that controls elements visibility.
See also: