Hi,
I have an array of objects and would like to add one more object to it. How can it be done?
Example:
array = [
{
“id”: “abc”,
“label”: “ABC label”
},
{
“id”: “def”,
“label”: “DEF label”
}
]
newObject = {
“id”: “def”,
“label”: “DEF label”,
“newKey”: " New Value"
}
I have tried using Concat formula:
CONCAT(array, [newObject])
This however gives warning and final variable ends up being null.
Appreciate if anyone has any thoughts…