getDataField()
Purpose
For native Platform objects, this method retrieves the value of a single field from a specific record.
Syntax
getDataField(string sessionId, long id, string
fieldName, boolean useIds);
Parameters
sessionId
A string containing the session ID obtained at log in.
id
A long value containing the record ID.
fieldName
A string containing the field integration name.
useIds
A boolean value: if
Output
Field's value wrapped in a DataField container.
Permissions Required
View permission for the requested object type.
Example
long id = 123456;
DataField field = binding.getDataField(sessionId, id, "lastName", false);
if (field != null) {
String lastName = field.getValue();
}