Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
The Registration Content Type

The Registration Content Type

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The Register for a Course Use Case relies on a registration list that contains registration list items.

The Registration content type is named RegistrationContentType. It is defined in Contoso.TrainingManagement\Content\Types\ RegistrationContentType.xml. It inherits from the base content type, which is Item. The data elements of the content type are defined with the Field Ref element. Each Field Ref element refers to a type definition that is provided by a Field element. The Field elements are not nested within the Content Type element scope. This allows the Field type definitions to be used in more than one content type. The following is an example of a Field element.

<Field ID="{11b6eba7-d1a1-4d15-9770-645052681e40}" Type="Integer" Name="CourseId" DisplayName="Course Id" Hidden="TRUE" Required="TRUE" Sealed="TRUE" ShowInEditForm="FALSE" DisplaceOnUpgrade="TRUE" />

The following is the corresponding Field Ref element.

<FieldRef ID="{11b6eba7-d1a1-4d15-9770-645052681e40}" Name="CourseId" />

For more information about content types, see Content Type on MSDN. For information about how to create a custom content type, see How to: Create a Custom Content Type with Event Receivers.

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Show:
© 2015 Microsoft