Attachments and Histories
Two read-only properties for the Entity object are:
- AttachmentFields (GetAttachmentFields for Perl)
- HistoryFields (GetHistoryFields for Perl)
Collections are used to represent Attachment and History
related objects. A collection is a group of objects of same type. The following
diagram shows the relationship between object Entity and the attachment and
history related objects.
![The boxes in the image indicate that an Entity object may have associated Attachments and Histories.](images/cq_api_att_hist_obj.gif)
![The boxes in the image indicate that an Entity object may have associated Attachments and Histories.](images/cq_api_att_hist_obj.gif)