Attachments Element
The Attachments element contains the URLs of attachments for a specified list item.
Syntax
<Attachments>
<Attachment>
</Attachment>
</Attachments>
Element Relationships
Parent Elements |
---|
RenderPattern |
Example
The following excerpt from FLDTYPES.XML specifies that attachments are part of the render pattern for both the display mode and the edit mode in the definition of the Attachments field type.
<RenderPattern Name="DisplayPattern" DisplayName="DisplayPattern">
<Attachments/>
</RenderPattern>
<RenderPattern Name="EditPattern" DisplayName="EditPattern">
<Attachments/>
</RenderPattern>
The following example shows a SOAP response for the GetAttachmentCollection method.
<GetAttachmentCollectionResult>
<Attachments>
<Attachment>http://Myoffice.Net/Poster.bmp</Attachment>
<Attachment>http://Myoffice.Net/Attachment.bmp</Attachment>
<Attachment>http://Myoffice.Net/Paris.bmp</Attachment>
<Attachments>
<GetAttachmentCollectionResult>