Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

This may be basic but being a novice in SharePoint, I am not able to figure out how to create a new Content Type with Survey as base type. Adding a new Content Type in Visual Studio presents me a list of type from which I can select but Survey type is not present there.

Please help me out.

share|improve this question
    
Does this help: sharepoint.stackexchange.com/questions/17730/… ? –  eirikb Sep 26 '12 at 5:16
    
@eirikb I have already seen that. It doesn't help. I need guidance on how to do this exactly. –  Mayank Sep 26 '12 at 6:46
add comment

1 Answer

up vote 1 down vote accepted

You can't because the Survey Content Type don't exist

Surveys are lists with BaseType="4", which has it's fields defined in the <BaseTypes> section in SharePointRoot\Template\Global\XML\ONET.xml

As all list get a content type which inherits from the base content type of their items, this also happens for Surveys, but their local content type inherits from 0x System

share|improve this answer
    
You are right! I ended up creating my own list definition based on Survey and then customizing it. –  Mayank Sep 27 '12 at 3:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.