DOCMEDIATYPE

Returns the media type associated with an attached document.

Return Value

String

Syntax

DOCMEDIATYPE( attachmentName )

OR

DOCMEDIATYPE( attachmentSeq )

where:

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