2022.2

Table Of Contents
String,specifyingalevelinthePDF/VTorAFPfile.
propertyName
String,specifyingthemetadatafield.
fieldExists(fieldName)
ThismethodreturnstrueifacolumnwiththespecifiednameexistsinthecurrentrecordinaCSV,XLS
orXLSXfile.
ToverifywhetheracolumnspecifiedbyindexexistsinaCSV,XLSorXLSXfile,use"fieldEx-
istsByIndex(index)"below.
fieldName
Stringthatrepresentsafieldname(column)inaCSV,XLSorXLSXfile.
fieldExists(xPath)
ThismethodreturnstrueifthespecifiednodeexistsinthecurrentrecordinanXMLfile.
xPath
Stringthatspecifiesanode.
fieldExists(jPath)
ThismethodreturnstrueifthespecifiedelementexistsinthecurrentrecordinaJSONfile.
jPath
Stringthatspecifiesanelement.
fieldExistsByIndex(index)
Methodofthedataobjectthatreturnstrueifacolumn,specifiedbyindex,existsinaCSV,XLSor
XLSXfile.
index
NumberthatrepresentsacolumninaCSVorXLS(X)file(1-based).
Example
ThefollowingscriptaccessesallcolumnsinaCSVfile:
var allFields=[];
var i=1;while (data.fieldExistsByIndex(i)) {
allFields.push(data.extractByIndex(i++));
}
Seealso:"extractByIndex(index,rowOffset)"onpage383.
Page 385