Fields 要素 (リスト)
リスト定義内のフィールド定義を格納します。
<Fields>
</Fields>
属性
属性 |
説明 |
---|---|
なし |
該当なし |
子要素
親要素
出現回数
最小 : 0 最大 : 1 |
例
次の例は、タスク リスト用の Schema.xml ファイルの一部です。ここでは、タスク リスト内で一意に使用されるフィールドを指定しています。
<Fields>
<Field Type="Choice" Name="Priority" DisplayName="Priority" >
<CHOICES>
<CHOICE>(1) High</CHOICE>
<CHOICE>(2) Normal</CHOICE>
<CHOICE>(3) Low</CHOICE>
</CHOICES>
<Default>(2) Normal</Default>
</Field>
<Field Type="Choice" Name="Status" DisplayName="Status">
<CHOICES>
<CHOICE>Not Started</CHOICE>
<CHOICE>In Progress</CHOICE>
<CHOICE>Completed</CHOICE>
<CHOICE>Deferred</CHOICE>
<CHOICE>Waiting on someone else</CHOICE>
</CHOICES>
<Default>Not Started</Default>
</Field>
<Field Type="Number" Name="PercentComplete" Percentage="TRUE"
Min="0" Max="1" DisplayName="% Complete"></Field>
<Field Type="User" List="UserInfo" Name="AssignedTo"
DisplayName="Assigned To"></Field>
<Field Type="Note" RichText="TRUE" Name="Body"
DisplayName="Description" Sortable="FALSE"></Field>
<Field Type="DateTime" Name="StartDate" DisplayName="Start Date">
<Default>[today]</Default>
</Field>
<Field Type="DateTime" Name="DueDate"
DisplayName="Due Date"></Field>
</Fields>