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

I have following queries :

  1. How do i programmatically deploy Managed Metadata Fields, and associate then to particular Term Set in Store while deployment
  2. When I am trying to create List/List Definition programmatically, i get the option to create a customizable list from following templates only : enter image description here I would like to create a customizable list from piture library template, how do i do that?
share|improve this question
add comment

1 Answer 1

@vikas: You can only create a list definition based on the existing list types currently enabled in your site collection that you have set up for the visual studio project. Make sure that you have activated the SharePoint publishing farm solution / features first. You should also determine that if you were to create a new library manually that the picture library type is available. If it is not available from the web front end then it will not be an option that is available in visual studio.

share|improve this answer
    
The publishing feature is activated and picture library template is available for OOTB creation –  vikas mehta Dec 13 '12 at 10:44
    
@vikasmehta, can you create a new picture library as a user instead of inside visual studio? Have you opened visual studio "as administrator"? I've had a few strange ones in the past on Windows 7 whereby by admin rights hadn't been elevated enough. Also, are you a site collection administrator on the site? –  Brian Scott Dec 13 '12 at 11:12
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.