Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Feature to deploy other features

  Asked By: Vanraj Mittal         Date: Jun 17, 2009      Category: Sharepoint      Views: 290
 

I am trying to have one feature that will deploy about 5 other features - can
this be done? I so can someone point me in the right direction?

Tagged:          

 

3 Answers Found

 
Answer #1       Answered By: Duane Walton          Answered On: Jun 17, 2009       

I heard someone at a conference (not a speaker) try to explain this idea. I
don't think there is a problem creating multiple projects under one solution and
making one big manifest.xml file though I haven't done it or seen it. I would
love to hear what you come up with!

 
Answer #2       Answered By: Cassandra Cooper          Answered On: Jun 17, 2009       

You can definitely create solutions that deploy  multiple features.
Stapling and feature  Dependencies are what you are after.

The only problem I have run into with Feature Dependencies is having
Features at different scopes can get a bit of a tangled mess L

blogs.msdn.com/.../feature-stapling-in-ws
s-v3.aspx

msdn.microsoft.com/en-us/library/aa543162.aspx

You could even just create a solution which contains all your features
and then one quasi-stapling feature to activate them as needs be.

www.dotnetmafia.com/.../ho
w-to-programmatically-activate-a-feature.aspx

 
Answer #3       Answered By: Elaina Suarez          Answered On: Jun 17, 2009       

Yes, This can be done easily using Feature Stapling.

 
Didn't find what you were looking for? Find more on Feature to deploy other features Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].