On the Document Types form, specify the file extension that should be used as the default for documents that belong to this type. This field controls what application is used by the operating system to present the document to the user.
For example, if you anticipate that the default file type for attachments that belong to this group is an Excel spreadsheet, specify xls in this field.
On the Documents form and the Attached Documents form, this field initially displays the file extension associated with the selected Document Type.
Once a document (file) is attached, then this field displays the file extension for the document that is actually attached, even if you decide to attach a file with a file extension different from the default.
For example, suppose the default file extension for a document type is xls, but you decide to actually attach a Word file, which uses the file extension doc. After you attach the Word file, this field displays doc.
On the Event Action Attach form, this field is labeled "Document Extension." It indicates the extension of the document (file) to be attached for view or export. If this value is not specified, the document extension from the associated Document Type field is used.
ATTACH and UPDATE actions
On the Event Action Attach form, the contents of this field must use this syntax:
scalarExpression
where scalarExpression is or resolves to the file extension for the file to be attached or updated.
When you click OK to return to the Event Actions form, the system "wraps" this content within a DOCEXT( ) parameter, which yields the final syntax:
DOCEXT("scalarExpression")