The getFieldValue
method gets the value of a field in a document. To return the values of a multi-value field, see getFieldValues.
getFieldValue( fieldname [, case])
Argument | Description |
---|---|
fieldname
|
(string) The name of the field to be retrieved. |
case
|
(boolean) A boolean that specifies whether fieldname is case-sensitive. The argument is case sensitive by default (true ). |
(String). A string containing the value.
|