Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Provisioning List with a Custom Workflow Solution

  Date: Oct 30    Category: Sharepoint    Views: 733

How do you provide the lists required for a custom workflow solution? There will
be several lookup lists that I need. Is there a way to build the list in SP with
content, then save the list as a template, and then add the template to the
solution? Or when the solution is deployed should part of the process be to
programmatically create the lists?



4 Answers Found

Answer #1    Answered On: Oct 30    

There are so many ways to do this from stapling, to custom site
definition, to feature activation event handling, to console
application, to Powershell scripting...etc. If you are using 2010 you
can save the site as a template (.WSP) and open it in Visual Studio. You
would be able to hand pick the pieces of the application you want.

I have definitely built apps that would create the lists if they didn't
exist including adding the data to them. One in particular used XML
files to populate the lists after creation so that the XML files could
be updated and thrown into the lists automagically. There are so many
options that really depend on your particular business needs.

Are you writing the workflow in code?

Answer #2    Answered On: Oct 30    

I am working with SP2007 on this...

Answer #3    Answered On: Oct 30    

Without knowing full details of your particulars I would suggest the

Create the workflow as part of a feature.

On FeatureActivated I would have two steps:
1. Create list and columns programmatically. (Depending
on reuse requirements you may want to create the
columns as part of a content type...)
2. Install the workflow referencing that list.

Answer #4    Answered On: Oct 30    

you should be able do this using the publishing feature.

Didn't find what you were looking for? Find more on Provisioning List with a Custom Workflow Solution Or get search suggestion and latest updates.