RdsService.getChildEls

Syntax

getChildEls(dict: PP.Rds.Dictionary, parentKey: String, callback: function|PP.Delegate, includeRoot: Boolean);

Parameters

dict. MDM dictionary.

parentKey. Parent key.

callback. Callback function

includeRoot. Indicates if root element is to be included into the resulting array. If this parameter is set to true the root element is included, otherwise it is not.

Description

The getChildElsmethod returns children of an MDM dictionary.

Comments

This method returns an array of JSON objects that have the following fields: a - object containing a set of attributes, hist - object containing attributes history, k - element key, n - name, p - key of the parent element, o - opacity coefficient.

Example

The example of use is given on the page with description of the RdsService.beginBatch method.

See also:

RdsService