|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
FieldRefs Element (List)
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains a collection of FieldRef elements used to define computed fields.
The following example creates a computed field called myField that combines values of the Title and ID fields to form a hyperlink such as <a href="form.htm?ID="ID">Title</a>.
<Field Name="myField" Type="Computed"> <FieldRefs> <FieldRef Name="Title"/> <FieldRef Name="ID"/> </FieldRefs> <DisplayPattern> <HTML><![CDATA[<a href="form.htm?ID="]]></HTML> <Column Name="ID"/> <HTML><![CDATA[">]]></HTML> <Column Name="Title"/> <HTML><![CDATA[</a>]]></HTML> </DisplayPattern> </Field>