Search code examples
sharepointcontent-typesite-column

Site Columns & Content Types Missing during VS Development


Just getting into SharePoint development however we're encountering an issue following nearly every tutorial!

Site Columns & Content Types do not seem to appear in SharePoint after Deploying an app via VS 2013!

We're currently following this Channel9 tutorial. Fairly straightforward - they create an app, add a Column & Content Type and at 37 minutes in they deploy their app to SharePoint. After doing so they navigate to Site Settings -> Site Columns and can see the column created in the project. We however don't see this! The 'site column' and 'content type' aren't listed in SharePoint 2013.

This occurs with every tutorial we've followed, the content type and column simply isn't there. Any ideas where we're going wrong? Are we missing a step?

Note: The only differences from what we're doing to the Channel9 tutorial is:

  • We create an "App for SharePoint 2013" whereas they're using a "SharePoint 2013 Empty Project" template.
  • They seem to be using a local sandbox environment and we're using a Developer Site on our Office 365 / SharePoint online instance

Solution

  • That the difference:

    We create an "App for SharePoint 2013" whereas they're using a "SharePoint 2013 Empty Project" template.

    When develop app your create "another site" isolated from your host where your app is installed, your site column and content type are here.

    Try to create a Sharepoint 2013 Empty Project and you see the Site Column and Content Type on your host site.

    Check this link to see Apps for SharePoint compared with SharePoint solutions