The DataObject class represents a data object in the Object Service. An instance of this class is required as a parameter in many methods of the ObjectService class.
The DataObject class has one constructor.
Creates an instance of the DataObject class.
DataObject(objectName, recordObject);
| Parameter | Type | Description | 
|---|---|---|
| objectName | string | 
                             An instance of the DataObject class which contains data about the object and its data.  | 
                    
| recordObject | Dictionary <string, object> | 
                             An Dictionary object through which the record is sent.  | 
                    
 
Kony.DataObject dataObject = new Kony.DataObject("objectName");
dataObject.AddField("field", "value");
            | Copyright © 2019 Kony, Inc. All rights reserved. |