Help
<itemmetadata>
The <itemmetadata> element defines additional metadata fields that are displayed to authors when editing course items. These additional fields can be used with DLAP to generate custom searches or reports.
<itemmetadata>
<value id="string" [display="string"] [inputtype="Text|Boolean|Choice|Integer|Decimal"] [searchtype="Default|Range"] [itemtype="enum"] [allowgroupoverride="boolean"] [defaultvalue="string"] [minvalue="number"] [maxvalue="number"]>
[<choice value="string" display="string"/>
...]
</value>
...
</itemmetadata>
ElementAttributeMeaning
itemmetadata / valueidID of the custom metadata field. Author-entered values are stored in the ItemData in elements named "meta-ID" where ID is the ID of the custom metadata field. Thus ID must follow XML element naming rules such as that it cannot contain spaces.

displayDisplay title of the custom metadata field. If this attribute is omitted, the id attribute is used.

inputtypeInput type of the custom metadata field. If this attribute is omitted, a text field is displayed for editing.

searchtype UI to display in search forms. If set to Range when the inputtype attribute is set to Integer or Decimal, the search form will allow the user to search by a range of numeric values.

itemtypeItemType on which to apply the custom metadata field. UI to edit this metadata field will only be shown for the specified item type.

allowgroupoverrideSpecify true to allow overrides to this metadata for each group or section. Specify false (default) to only allow editing the metadata at the course level.

defaultvalueDefault value for the field. If the inputtype attribute is set to Boolean, this value can be true or false. If the inputtype attribute is set to Choice, this value can be one of the value attributes of one of the choice elements.

minvalue If the inputtype attribute is set to Integer or Decimal, this value limits input by specifying the minimum allowable value.

maxvalue If the inputtype attribute is set to Integer or Decimal, this value limits input by specifying the maximum allowable value.
itemmetadata / value / choice
Choices if the inputtype attribute is set to Choice

valueValue to save if the author uses this choice.

displayDisplay title to show to the author for this choice.
See Also
Domain Customization <questionmetadata>