
Context: | 
Class Method (Procedure) |

Library/Class: | 
FileImport Class |
Sub FileImport.ReadWordProperties
ReadWordProperties (stats As staticvars)
This method reads values of the Word properties into the internal value structure (import.record.fvalue). Integra evaluates all formula fields as listed in the Selected Field List of the Integra profile and if the return value is of type string and the format of the string is WORD.PROPERTIES.property, it will write the Word property value into the field's import.record.value index. Later on when Integra is writing the field values into the created Notes document , the values (Word properties) will be written into the respective field names (as listed in the Selected Field List).
Please refer to the Integra profile to see the list of supported Word properties.
Release 4.0 +
Since release 4.0 this method also reads in values of Word field of type mailmerge (wdFieldMergeField). Same applies as for the above explained Word properties, however, the field formula must return a string in the format WORD.FIELD.fieldname(where fieldname refers to a Word mailmerge field).
Note: only formula (computed) fields are allowed in the context of Word import profiles. Any return value (of a listed formula field) that does not conform to the above described formats, will be written to the respective Notes field as is. Hence, formula fields can be used to create Notes fields with values not referring to the imported Word document.
Parameters:
Handle to Integra's runtime object stats
|