setElement(parentKey: Number, elMd: Object|PP.Rds.DItem, updateTotalCount: Boolean);
parentKey. Parent key.
elMd. Object that contains item settings in metadata format, or an MDM dictionary item.
updateTotalCount. Indication of refreshing the counter for the total number of elements. If the parameter is true, the counter of the total number of elements is refreshed, otherwise it is not.
The setElement method add or changes element in MDM dictionary.
If an existing item is specified as the elMd parameter, it is refreshed, otherwise it is added to the dictionary.
The method use is given on the page with description of the DItem constructor.
See also: