Document Type

On the Document Types form, use this field to specify a document type, or category. This can be as basic as specifying a Graphics file; but a more useful type designation would be related to the function for which the document is to be attached.

For example, suppose you want regularly to attach Word document files to system user profiles. You could create a document type called User records to use when attaching such files to user profiles.

On the Documents form and the Attached Documents form, specify a document type from the drop-down list.

On the Event Action Attach form, this field indicates the type of the document or file to be attached. This field is required with Attach actions and optional with Update actions.

The contents of this field must use this syntax:

scalarExpression

where scalarExpression is or resolves to one of the values from the Document Types table.

When you click OK to return to the Event Actions form, the system "wraps" this content within a DOCTYPE( ) parameter, which yields the final syntax:

DOCTYPE(scalarExpression)