SetRdsElementsResult SetRdsElements(RdsId tRds, SetRdsElementsArg tArg)
tRds. Opened dictionary instance moniker.
tArg. Parameters of changing information about dictionary elements.
The SetRdsElements operation changes information about MDM dictionary elements.
This operation enables the user to make the following changes:
Change attribute values for the elements.
Create new elements and delete existing ones.
Move elements thus changing the dictionary hierarchy.
Delete outdated values from version dictionaries.
To execute the operation, in the tRds parameter specify the opened MDM dictionary instance moniker, and in the tArg parameter specify operation execution parameters. The moniker can be obtained on executing the OpenRds operation. The following fields must be defined depending on the operations to be executed:
To execute operations on a single element: specify element key in the tArg.key field, and the operation to be executed in the tArg.op field. Updated information on the element may be specified in the tArg.data field. To move an element, set a value for the tArg.moveTo field.
To execute operations with a group of elements: depending on the operation to be executed, define parameters in the following fields: tArg.update, tArg.insert, tArg.del, or tArg.delChildren.
To clear a dictionary, define conditions in the tArg.cleanup field.
The result of the operation is the result of executing some operation with the selected element or elements collection. All the changes are automatically saved.
Various methods of using this operation are given in the following examples:
Example name |
Inserting New Element |
Moving Elements |
Updating Information about Element |
Deleting Elements |
See also: