Add Item to Object
Overview
Adds the given Item
to the target object - inheriting the name (key) or overriding the name with the optional Key
value.
Parameters
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Item to Add | The item to add to the target Object | Any Data Process Type Block Group | Yes |
Key Name (optional) | The name of the property the item will be added as. This can be set dynamically via text concatenation (building a path as it executes) and can even target an array item within an object (eg. `myObject[1]`) | Text Process Block Group | Yes |
Don't overwrite existing object | Skips processing if the `Key Name`'s object already exists in the `Target Object`. When switched off, this will overwrite the existing item with the new item (default). | Boolean Process Block Group | No |
Target Object | The DataStructure Object to which to add the item | Reference Block Group | Yes |