Attachment Well User Interface

Attachment Well User Interface

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The Attachment Well is the user interface that represents the attachment collection for an Exchange store item. The following list contains features of the Attachment Well:

  • List of attachments in read–only and read–write forms
  • An HTML table used to display hyperlinks to the attachments
  • A user interface element used to mark attachments for deletion
  • Markup attributes used to format the Attachment Well user interface

The following diagram illustrates an Exchange Web form with a read–only Attachment Well. This form has no mechanism for adding or deleting attachments.

Aa126081.wforms_attachmentWell(en-us,EXCHG.65).gif

The following diagram illustrates an Exchange Web form with a read–write Attachment Well. This form provides browse functionality to locate and select files for an attachment, and it includes check boxes to mark attachments for deletion.

Aa126081.wforms_attachmentWell_delete(en-us,EXCHG.65).gif

Adding the DIV tag with a class attribute, <DIV class ="attachmentWell">, creates an Attachment Well user interface on a form. When the form is rendered, HTML is generated. The generated HTML comes in the form of an HTML 3.2 table where each cell contains an attachment.

The following is a list of items that can be found in an Attachment Well:

  • A check box to select an attachment for deletion. The name of the check box is https://schemas.microsoft.com/exchange/nosave/deleteattach. The value of the check box is a URL, DAV:href property, for the attachment. In the following code example, the URL is https://servername/public/publicFoldername/report1.xls

    <input
    type="checkbox"
    name="https://schemas.microsoft.com/exchange/nosave/deleteattach"
    value="https://server/public/expense/report1.xls">
    

  • An attachment icon that users can click. The IMG tag can be used for large, small, or custom icons. When using a custom icon, the icon is specified with a URL to an image for the attachment icon. The following code example shows the URL to the form-freedoc.gif file.

    <a href="http://jwiererex2k/public/expense/report1.xls">
    <img src="http://jwiererex2k/exchweb/img/form-freedoc.gif" Border=0>
    </a>
    

  • A hyperlink to the attachment. Use <a> tag where the HREF attribute is the URL to the attachment in the Exchange store. The display name for the attachment appears between the opening and closing tags. In the following code example, the display name is Report1.

    <a href="https://server/public/expense/report1.xls">Report1.xls</a>
    

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.