DimSrv.open

Syntax

open(key: Number | Object, loadAllElements: Boolean, getAttr: Boolean, pattern: Object, callback: function, params: Object, binding: Object);

Parameters

key. Key or moniker of the dictionary to be opened.

loadAllElements. Indicates if all dictionary elements are loaded. Available values:

getAttr. Indicates if information about dictionary attributes is extracted. Available values:

pattern. The pattern, according to which dictionary metadata is extracted.

callback. Callback procedure.

params. Dictionary parameters. Array of objects of the PP.Mb.Param type.

binding. Result output parameters. The object must contain the fields: ID - dictionary identifier; GROUP - group name; ATTRIBUTEVALUE - attribute value; SELECTIONMODE - element selection method; LEVELATTR - level attributes.

Description

The open method opens a dictionary.

Comments

If the "pattern" parameter is not set, the following object is set instead of it:

{

getDescr: true,

getAttrs: true,

getLevs: true,

getHiers: true,

getGroups: true,

getSchemas: true,

getSelection: true,

getCompound: true,

getErrorInfo: true,

getIndexes: true,

getCalendarLevs: true

};

Example

The example of use is given on the page with description of the constructor of the DimSrv class.

See also:

DimSrv