Formula Element (List)

Contains a formula used in the definition of a field.

<Formula>
</Formula>
Attributes

Attribute Description

None

N/A

Child Elements

None

Parent Elements

Occurrences

Minimum: 0

Maximum: 1

Example

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

Xml
<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>
Tags :


Page view tracker