다음을 통해 공유


Formula Element (List)

Applies to: SharePoint Foundation 2010

Contains a formula used in the definition of a field.

<Formula>
</Formula>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

Field

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.

<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>