Question

I was wondering if SharePoint 2010 has wizard based feature activation, let me explain.

Lets say I have a list definition in the feature.

During feature activation I would like to present a web form that asks "How many lists do you want to create?"

The user then selects a number for example 5.

Now the feature will create 5 new list instances.

I know this type of thing was definitely not possible with SharePoint 2007, so can 2010 cater for this?

Was it helpful?

Solution

For achieving this you can create a custom application page and host it in your central administration. Further through the object model, you can activate and provide a dropdown target your feature for a specific web application/site collection.

Further in the same application page (optionally you can add another and link to the first one) you can add the required logic to create list instance once your feature gets activates.

The same approach is valid for both MOSS and SP2010.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top