$doc.getFieldNames() will give you a list of field names as defined in your schema.xml file. However, the order in which it returns the field names is not the same order that I defined them in schema.xml. What determines the order returned by $doc.getFieldNames() ?
- $doc.getFieldNames() - what determines the order of fields? Yuhao