DynamicDimInstance: Boolean;
DynamicDimInstance: boolean;
The DynamicDimInstance property determines whether dynamic loading of the MDM dictionary elements is used.
Available values:
True. Dynamic loading of dimensions is used. On dynamic loading elements are loaded if required.
False. Dynamic loading of dimensions is not used. All elements are loaded on selecting the MDM dictionary.
Executing the example requires that the repository contains an MDM table dictionary with the DIM identifier.
Add links to the Metabase and Rds system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Dict: IRdsDictionary;
Begin
MB := MetabaseClass.Active;
// Get the MDM table dictionary
Dict := MB.ItemById("DIM").Edit As IRdsDictionary;
// Set dynamic loading
Dict.DynamicDimInstance := True;
(Dict As IMetabaseObject).Save;
End Sub UserProc;
After executing the example dynamic loading for the MDM table dictionary will be set.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example.
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
Dict: IRdsDictionary;
Begin
MB := Params.Metabase;
// Get the MDM table dictionary
Dict := MB.ItemById["DIM"].Edit() As IRdsDictionary;
// Set dynamic loading
Dict.DynamicDimInstance := True;
(Dict As IMetabaseObject).Save();
End Sub;
See also: