IsBigDictionary: Boolean;
The IsBigDictionary property determines whether the dictionary supports a large number of elements.
Available values:
True. The dictionary supports a large number of elements and does not support hierarchies. Such dictionaries open without elements list in the interface.
False. The dictionary does not support a large number of elements.
Executing the example requires that the repository contains an MDM repository with the RDS identifier. This repository should contain an MDM dictionary with the DIC identifier.
Add links to the Metabase, Rds system assemblies.
Sub UserProc;
Var
mb: IMetabase;
rdsKey: Integer;
Dict: IRdsDictionary;
Begin
mb := MetabaseClass.Active;
rdsKey := mb.GetObjectKeyById("RDS");
// Get dictionary
Dict := mb.ItemByIdNamespace("DIC", rdsKey).Edit As IRdsDictionary;
// Specify, that the dictionary supports working with a large number of elements
If Not Dict.IsBigDictionary Then
Dict.IsBigDictionary := True;
End If;
(Dict As IMetabaseObject).Save;
End Sub UserProc;
After executing the example the dictionary supports work with a large number of elements.
See also: