Export (0) Print
Expand All

Exchange Store Form Object

Exchange Server 2003

Exchange Store Form Object

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 Exchange store Form object represents an Exchange Web form as the user interface and the data. The Form object enables developers to specify the attribute visibility and the contents of HTML elements. The object allows Exchange Web forms to be manipulated through Microsoft® ActiveX® Data Objects (ADO) fields.

The interfaces provide specific control over the display components of the form as well as the underlying data items.

Update method

The Update method is called to save data.

Render method

The Render method is called at the end of the script block. This causes the form renderer to render the bound version of the form and the form's views with the changes made by the script.

The form renderer ignores anything inside an ASP markup - <% %>.

The form renderer uses the ADO fields collection to bind data.

The Render method does not save any data to the Exchange store use the Update method.

Fields

Input fields are used for data entry.

Elements are used to control pieces of HTML.

Typical logic

To use a single ASP page for requesting and displaying information, logic is required.

If Request.ServerVariables("REQUEST_METHOD") = "GET"   Then
    oForm.Render
Else
    oForm.Update
    oForm.Render
End if

If a Get method is called, the form is rendered. Otherwise, use the Update method before rendering the page.

For more information, see Building ASP Forms with the Form Renderer.

Show:
© 2014 Microsoft