Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

SharePoint 101 D. Server side dev ~ Provisioning fields and content types

Philippe Lavoie edited this page Mar 11, 2020 · 1 revision

The first step in developing any new SharePoint functionality is often the definition of your data model: in other words, your site columns (i.e. SharePoint fields) and content types.

Site Columns (i.e. Fields)

  • Site columns can be defined as part of a solution package in a feature module.
  • Exercises:
    • Provision you first site columns using simple types
    • How to define Taxonomy fields through XML
    • How to associate your Taxonomy-type site column to a specific Term Set (programmatically during a FeatureActivated event)

References:

Content Types

  • Content types are reusable schemas for your data
  • Content types are built from <FieldRef/> elements instead of repeating the full Field definition (as opposed to list definitions, see next section)
  • How to define a content type ID
  • Exercises:
    • Design your first content type including a Taxonomy field

References:

Clone this wiki locally