Contents tagged with content type

  • Orchard CMS: Adding a field to a custom content type in your module / migrations.cs

    While it sounds simple, I didn't quite find all the documentation I needed in once place, and there were a few gotchas, so I thought I'd make a post (if only for my own future reference). A few notes on fields, content types and content parts before we continue: When we add a field to a content type via the Admin Interface in Orchard, it looks nice and independent, but in the background all … more

  • Pro-tip: Resolving "Content Type Still In Use" Issues In SharePoint 2010

    If you're getting the following exception when trying to delete a content type ("Microsoft.SharePoint.SPException: The content type is in use"), here's a quick checklist of things to check: 1) SPContentTypeUsages. Using SharePoint Manager, you should be able to see whether your content type is used on any lists or libraries, and you haven't removed them yet. 2) Make sure you remove all items … more

  • Sharepoint 2010 Pro Tip - List Definition With Many Content Types

    Earlier today, I came across a very interesting issue with a colleague's List Definition. The list contains 12 content types, but for some reason would only show the top eight content types in the list. It deployed fine without any errors, and if you reordered the content types in the definition, the top eight would be deployed. The content types themselves were also exceedingly large, so my … more

  • Managed Metadata Fields in SP2010 Content Type Definitions

    I've been creating some content types in SharePoint 2010 recently, which include a few of the new Managed Metadata Fields, and I came across an issue where items created with the content type wouldn't save, and would leave the following error message: Failed to get value of the “{0}” column from the “Managed Metadata” field type control. See details in log. Exception message: Invalid field name. … more

  • 1