AddObjectArrayItem

Overview

Appends an object to an array on an API object

Syntax

AddObjectArrayItem(1, 2, 3)

Function Properties

Ordinal Type Description
1 API object Required API object containing the array
2 string Required Array property to receive new item
3 string Required Item to add to array

Usage

Given the example below:

AddObjectArrayItem(@mySubscriber,'Attribute',@myNewAttribute)

The Attributes array on the mySubscriberObject would receive the attribute myNewAttribute.

Last Updated: Jun 8, 2021