setItem(dict: PP.Rds.Dictionary, operation: PP.Rds.ElementOperation, targetKey: String, atIds: Array, data: Array|PP.Rds.DItem, callback: function|PP.Delegate);
dict. MDM dictionary.
operation. Type of the operation on dictionary item.
targetKey. Key of the item for which you want to perform the operation.
atIds. Identifier of the elements to set.
data. Array of values of the specified attributes or a dictionary item. It has the structure: { values: [<array of values of the specified attributes>], transl: [<array of translations as hashes> { <locale>: <value> } ] or an object of the PP.Rds.DItem type.
The setItem method adds or refreshes specified element in MDM dictionary.
The example of use is given on the page with description of the DItem constructor.
See also: