Represents an annotation that can be applied to a document, folder, or custom object. An
Annotation object allows you to link additional
information to a containable object. You can modify and delete annotations independently of their annotated object. However, you cannot create
versions of an annotation separately from the object with which it is associated. Document annotations are uniquely associated with a
single document version; they are not versioned or carried forward when their document version is updated and a new version created.
By design, an annotation is deleted whenever its associated parent object is deleted. Although an annotation receives its
default security from both the annotation's class and parent object, you can apply security to an annotation that is different from the security
applied to its parent.
To create a new Annotation object and associate it with a document, use the document object's CreateAnnotation method.
To create a new Annotation object and associate it with a folder or custom object, first use the Factory.Annotation.CreateInstance() method
to create a new Annotation object, then set its AnnotatedObject property to reference the object to which you want it associated.
An annotation's content data can be specified via its ContentElements collection.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
JavaScript |
---|
FileNet.Api.Core.IAnnotation = function();
FileNet.Api.Core.IAnnotation.createInterface('FileNet.Api.Core.IAnnotation'); |