0

I know this might be a silly question but here goes... I created an event calendar site and it has some customized webparts (done using visual studio), custom views (XLV webpart views) and workflows (custom workflows using sharepoint designer 2010) associated with it. I saved the site as .wsp file. Now the solution works perfectly fine on my standalone machine. But when I deploy it on the client machine workflows assigned to the site are not attached and any customization done using sharepoint designer are not reflected onto the deployment environment.

Well as far as I think the customizations are not attached to the .wsp file and so the deployment done is not working. So is there any way to deploy the solution without loosing the customizations?

Note: The deployment environment is using same AD and same sharepoint 2010 setup. And when I backup the site and restore it on the client machine all the customizations work.

1
  • have you tried deploying your solution to another virtual machine with clean SharePoint installed? have you got any Guids or names hardcoded not in feature definitions? Which and where? can you post parts of your workflow definitons for a deeper technical analysis? Did you receive any relevant ULS or Windows Event log records from your customer? Commented Jun 3, 2011 at 11:15

1 Answer 1

1

Workflows generated in SharePoint designer hardcode the ListIds - you will need to modify the .xoml definitions to use the list names instead. for example:

<ns1:FindValueActivity x:Name="ID55" __Context="{ActivityBind ROOT,Path=__context}"
 ExternalFieldName="User_x0020_Account"
 ReturnValue="{x:Null}"
 ExternalListId="<strong>My List Name</strong>"
 ValueType="System.String">

You can find more information around Sharepoint designer workflow packaging/deployment here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.