# annotation - Notes and Attachments

The annotation entity represents an annotation (note) and contains information that includes: the annotation (note) text, who created and modified the annotation (note), and if a file is attached to the annotation (note).

An attached file can be any standard PC file format, including Microsoft Word documents, Microsoft Excel spreadsheets, CAD files, and PDF files. An attachment can be associated with any object, other than an annotation (note), in the Microsoft Dynamics CRM system.

An annotation must be attached to another entity, such as account, contact, lead, opportunity. Therefore Inaport will throw an error if you have annotation as a parent table.

## Notes

To add a note, map the text of the note to the field 'notetext' and the subject line to the field 'subject'. All other fields will be populated automatically.

## Attachments

To attach a document to a note, map the path to the file to the virtual field 'vf_sourcefilepath'. The file must be present at the location specified, and the user running the profile must have permissions to read it.

Inaport will set the 'mimetype' field based on the file extension, but you may override this by mapping the correct mime type to the field.

The 'subject' line will be defaulted to 'File Attachment' - you may also override this.

### Attachment File Size

Dynamics CRM has a default file size limit of approximately 5 Mb. If you need to attach larger files, please consult the Dynamics CRM documentation.

Refer to the setting: 'Settings - Administration - System Settings - Email - maximum file size'.

Also check this Microsoft technical note:

http://support.microsoft.com/kb/295626/EN-US