Recently I was working on some infopath forms for a customer. At first I had made these forms in my own development SharePoint farm together with all the data connections (.udcx files). I had to move all the forms to the SharePoint farm of my customer. In this post you can find how I managed this and got everything working in the new farm. I have not done any research on the internet for this article, so there might be other (and/or better) options to do this. If so, please let me know, you can always post a comment to my posts.
- On my development farm I saved all the data connections (.udcx files)
- In the udcx files I changed the URLs of my devfarm with those of the customers farm
- I uploaded the changed udcx files to the DCL (Data Connection Library) in the new farm
- And I opened the saved forms on a computer that contained Infopath and had a connection to the new farm
- In every form I deleted the data sources because they still pointed to the udcx files in my devfarm and added the data connections in the new farm
- There were some udcx files that pointed to lists in the farm (i.e. a currencies list), besides deploying these lists in the new farm, I also had to reconfigure the fields in my forms that used these lists. When I executed step 5 these fields lost there configuration.
- Now I published all forms to the new farm URL and uploaded them in the forms template library in the SharePoint Central Administration
I hope this manual is helpful for you. Please let me know if you have any questions or remarks.
Tags: Best Practices, guide


Leave a Reply