DOCTYPE

Returns the document type of the attached document.

Return Value

String

Syntax

DOCTYPE( attachmentName )

OR

DOCTYPE( attachmentSeq )

where:

  • attachmentName is the name of the attachment for which you want the document type.
  • attachmentSeq is the 1-based sequence number of the attachment for which you want the document type.