For
objects, you can set the
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
property value reverts to its system-assigned value unless you explicitly set it again.
For
objects, you can set this property at any time.
For
objects, the
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
property. If you do not set the
property for a document or annotation, it is automatically set by the Content Engine according to the value of each content element's
property and according to the following logic:
- If the object contains one or more
objects that all have the same value for theirContentTransfer
property,ContentType
is set to the value of theMimeType
property.ContentType - If the object contains a single
object,ContentReference
is set to "application/x-filenet-external".MimeType - If the object contains multiple
objects (but noContentReference
objects),ContentTransfer
is set to "multipart/x-filenet-external".MimeType - Otherwise,
is set to "multipart/mixed".MimeType
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
content element.ContentReference - 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
content elements only.ContentReference
Namespace: FileNet.Api.Events
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Property MimeType As String |
C# |
---|
string MimeType { get; set; } |
C++ |
---|
property string MimeType abstract { String get(); void set(String value); } |
J# |
---|
/** property */ public string get_MimeType(); /** property */ public void set_MimeType(string value); |
JScript |
---|
public function get MimeType() : String public function set MimeType(value : String); |
Remarks
Metadata
AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
Datatype: STRING
IsHidden: false
IsOrderable: true
IsSearchable: true
IsValueRequired: true
MaximumLengthString: 96
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: READ_WRITE
TargetAccessRequired: READ