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 a designer workflow for a list instance. When i redeploy the list definition and list instance from VS 2010 solution the list is recreated and the association between the workflow and the list is lost.

site requires only one instance of the list so can i create the instance with fix GUID all the time it created ?

please suggest

share|improve this question
add comment

2 Answers

This is done best through SharePoint feature recievers. You can create and associate lists, you can also ensure a list does not exist.

If you are worried about redeploying from VS 2010 in your dev enviornment, you can set the configuration to not activate the feature automatically when you deploy via Visual Studio. I would recommend your feature which creates content/taxonomy be seperated from other features such as webparts/pages/dlls to ensure you can automatically refresh custom code in your enviornments.

Same Question

share|improve this answer
add comment

What you can do is select the List Instance in Solution Explorer, and then change the Deployment Conflict Resolution property (in the Properties window) to None. This way, the list instance won't be overwritten when the feature is activated.

share|improve this answer
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.