नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains mappings of values to the choices displayed within a Choice field.
<MAPPINGS>
<MAPPING
Value = "Text">
</MAPPING>
...
</MAPPINGS>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Example
The following excerpt shows how to implement the MAPPINGS element in a Choice field.
<Field ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Type="Choice" Name="Status" DisplayName="$Resources:core,Tasks_Status;" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Status">
<CHOICES>
<CHOICE>$Resources:core,Tasks_NotStarted;</CHOICE>
<CHOICE>$Resources:core,Tasks_InProgress;</CHOICE>
<CHOICE>$Resources:core,Tasks_Completed;</CHOICE>
<CHOICE>$Resources:core,Tasks_Deferred;</CHOICE>
<CHOICE>$Resources:core,Tasks_Waiting;</CHOICE>
</CHOICES>
<MAPPINGS>
<MAPPING Value="1">$Resources:core,Tasks_NotStarted;</MAPPING>
<MAPPING Value="2">$Resources:core,Tasks_InProgress;</MAPPING>
<MAPPING Value="3">$Resources:core,Tasks_Completed;</MAPPING>
<MAPPING Value="4">$Resources:core,Tasks_Deferred;</MAPPING>
<MAPPING Value="5">$Resources:core,Tasks_Waiting;</MAPPING>
</MAPPINGS>
<Default>$Resources:core,Tasks_NotStarted;</Default>
</Field>