SharePoint Add-in Recipe - Site Columns and Content Types

Todd Baginski

by Todd Baginski on 5/14/2015

Share this:
Print

Article Details

Date Revised:
6/25/2015

Applies to:
Content Types, csom, Office 365, Office 365 Patterns and Practices Guidance, OfficeDev, patterns and practices, PnP guidance, SharePoint 2013, SharePoint Client Side Object Model, SharePoint REST API, site columns


Summary

The approach you take to create site columns and content types in SharePoint sites is different in the new SharePoint Add-in model than it was with Full Trust Code. In a typical Full Trust Code (FTC) / Farm Solution scenario, site columns and content types are created with declarative code. In the declarative code approach the site columns and content types are defined in XML and SharePoint's feature framework elements are used to package and deploy them.

In a SharePoint Add-in model scenario, site columns and content types are created with the SharePoint Client Side Object Model (CSOM) or SharePoint REST APIs.

You can read the rest of this Office 365 Patterns and Practices Guidance article on GitHub, here: https://github.com/OfficeDev/PnP-Guidance/blob/master/articles/SharePoint-Add-In-Recipe-site-columns-and-content-types.md


Topic: Development

Sign in with

Or register