Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Formula Element (List)

Last modified: May 30, 2008

Applies to: SharePoint Foundation 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

Contains a formula used in the definition of a field.


<Formula>
</Formula>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

The following example defines a calculated field containing a formula that multiplies the value of another field by 100.

<Field Type="Calculated" DisplayName="Field_Display_Name" 
  ResultType="Number" ReadOnly="TRUE" Name="Field_Internal_Name">
  <Formula>=Other_Field_Name*100</Formula>
  <FieldRefs>
    <FieldRef Name="Other_Field_Name"/>
  </FieldRefs>
</Field>
Show:
© 2015 Microsoft