|
MimeType
|
Specifies the Multipurpose Internet Mail Extensions (MIME) format string of the content data carried by this document, annotation, or document classification action. For Document objects, you can set the MimeType property for a specific document version while it is a reservation object (at creation time and on subsequent check-outs). However, every time you check in a document, its MimeType property value reverts to its system-assigned value unless you explicitly set it again. For Annotation objects, you can set this property at any time. For DocumentClassificationAction objects, the MimeType property specifies the type of content that a document must hold in order to allow it to be auto-classified; you can set this property at any time. Each content element that is attached to a document or annotation has its own MIME type, which is specified by its ContentType property. If you do not set the MimeType property for a document or annotation, it is automatically set by the Content Engine according to the value of each content element's ContentType property and according to the following logic: - If the object contains one or more
ContentTransfer objects that all have the same value for their ContentType property, MimeType is set to the value of the ContentType property. - If the object contains a single
ContentReference object, MimeType is set to "application/x-filenet-external". - If the object contains multiple
ContentReference objects (but no ContentTransfer objects), MimeType is set to "multipart/x-filenet-external". - Otherwise,
MimeType is set to "multipart/mixed".
MIME is a communications protocol that allows for the transmission of data in many forms, such as audio, binary, or video. A MIME format string consists of a content type, a content subtype, and an optional parameter in the format: "MIME::content type/subtype[;parameter]". For example: "MIME::text/html". MIME defines the following content types: - text: Represent textual information in a number of character sets. A charset parameter may be used (for example, "MIME::text/plain;charset=us-ascii"). Some subtypes: plain, html, richtext.
- image: Represents still images. Some subtypes: jpeg, gif.
- audio: Represents audio or voice data. Some subtypes: wav, au.
- video: Represents video data or moving-image data. Some subtypes: mpeg, mp4.
- message: Encapsulates an entire formatted message. Some subtypes: rfc822, partial, external-body.
- multipart: Combines several body parts of potentially different types and subtypes. Some subtypes: mixed, alternative, parallel, digest.
- application: Represents application data (such as executables) or binary data.
The following MIME types are specific to FileNet: - application/x-filenet-declarerecordtemplate: Record template.
- application/x-filenet-documentassembly: Document assembly.
- application/x-filenet-external: An object that contains a single
ContentReference content element. - application/x-filenet-external-is: External Image Services document.
- application/x-filenet-publishtemplate: Publish template.
- application/x-filenet-scenariodefinition: Scenario definition document.
- application/x-filenet-search: Stored search.
- application/x-filenet-searchtemplate: Search template.
- application/x-filenet-workflowdefinition: Workflow definition document.
- multipart/x-filenet-external: An object that contains multiple
ContentReference content elements only.
|