HasDimMultipleValues: Boolean;
HasDimMultipleValues: boolean;
The HasDimMultipleValues property determines whether multiple values are loaded to IDimAttributeInstance.
Available values:
True. Multiple value are loaded to dictionary attribute.
False. Multiple values are not loaded to dictionary attribute.
Executing the example requires an MDM dictionary with the T_DICTIONARY identifier located in the repository with the MDM identifier.
Add links to the Metabase, Rds system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Dict: IRdsDictionary;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemByIdNamespace("T_DICTIONARY", MB.ItemById("MDM").Key).Edit;
Dict := MObj As IRdsDictionary;
Dict.HasDimMultipleValues := True;
MObj.Save;
End Sub UserProc;
After executing the example multiple values are loaded to the dictionary attribute.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example.
Imports Prognoz.Platform.Interop.Rds;
…
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
MObj: IMetabaseObject;
Dict: IRdsDictionary;
Attrs: IRdsAttributes;
Attr: IRdsAttribute;
Begin
MB := Params.Metabase;
MObj := MB.ItemByIdNamespace["T_DICTIONARY", MB.ItemById["MDM"].Key].Edit();
Dict := MObj As IRdsDictionary;
Dict.HasDimMultipleValues := True;
MObj.Save();
End Sub;
See also: