AttachmentFields object

An AttachmentFields object represents all of the attachment fields in a record.

AttachmentFields is a collection object similar to the standard Visual Basic collection objects. It is a container for a set of AttachmentField objects. The AttachmentFields object's property and methods tell you how many items are in the collection and let you retrieve individual items. You cannot programmatically change the number of attachment fields that the record type specifies. (The HCL Compass administrator creates these fields using HCL Compass Designer.) However, you can add or remove individual attached files using the methods of the Attachments Object.

Every Entity Object has exactly one AttachmentFields object. You cannot explicitly create an AttachmentFields object. However, you can retrieve a pre-existing AttachmentFields object from a given Entity object by invoking the Entity's AttachmentFields.