File Extension

On the Document Types form or the Media Type form

On the Document Types form or the Media Type 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.

For types that are already defined, this field displays the file extension for each type.

On the Documents form

On the Documents form and the Attached Documents form, this field initially displays the file extension associated with the selected Document Type.

After a document or 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 xlsx, but you decide to actually attach a Word file, which uses the file extension docx. After you attach the Word file, this field displays docx.

On the Event Action Attach form

On the Event Action Attach form, this field is labeled Document Extension. This field indicates the extension of the document or 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.

Use this field with Attach and Update document 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 this final syntax:

DOCEXT(scalarExpression)