Wednesday, April 11, 2012

Create custom content type and list instance in SharePoint 2010 using Visual Studio 2010

Create custom content type and list instance in SharePoint 2010 using Visual Studio 2010

I successfully created a list definition by following above mentioned article, when i deployed the solution got following error "Error occurred in deployment step 'Activate Features': Value does not fall within the expected range."  as i was using simply a guid as Contype Type ID not following convention for Content Type ID. Thanks to following article that helps me to understand Content Type ID conventions.
Content Type IDs.

No comments:

Post a Comment