Multiple choice technology

What are the correct statements for Custom Field Types in SharePoint 2007 (Multiple Selection)

  1. A Custom field type definition file (XML file) is required to create a Custom Field Type

  2. A field class whose instances represents particular fields is required

  3. This field class can inherit from SPCustomField or one of the classes in Windows SharePoint Services that derive from it

  4. This field class can inherit from SPField or one of the classes in Windows SharePoint Services that derive from it

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

Creating a custom field type in SharePoint requires three components: an XML definition file (option A) that defines the field type, a field class (option B) that represents instances of the field, and this class must inherit from SPField (option D) or one of its derived classes. SPCustomField (option C) is not a valid base class in the SharePoint object model - this is a common misconception. The correct base class is SPField, which provides the foundational functionality for all SharePoint field types.