This Entity object method allows multiple field values to be retrieved with one call. The field_names parameter is a string array of field names, and the result is a string array of field values, in the same order as the input array. If there is an error retrieving any one of the named fields (for example, if you specify an incorrect name of a field), an exception is thrown.
VBScript
entity.GetFieldStringValues field_names
Perl
$entity->GetFieldStringValues (field_names);
For Perl, a reference to an array of strings containing the valid field names.
For Perl, a reference to an array of strings containing the value or values stored for each of the specified field names.
Perl
my @fieldnames = ("submitter", "owner"); my $fieldvalues = $entity->GetFieldStringValues (\@fieldnames);