Infopath Content Migration - Dev UAT Prod - InfoPath Dev
in

InfoPath Dev

Infopath Content Migration - Dev UAT Prod

Last post 01-06-2011 09:39 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-14-2010 09:10 AM

    Infopath Content Migration - Dev UAT Prod

    I'm sure this is a common question but I can't seem to find any guidance.

    What is the accepted approach to migrating your dev/UAT environment to Production? We are moving structural changes, new infopath forms and event handlers, but we want to preserve the content already existing on production.

    We have some 700 submitted forms on production using v1.0 of our form template. We now have v2.0 of the form template on UAT, along with sharepoint changes such as workflows and views that we want to push to production via backup/restore. This would overwrite the submitted forms on prod that we want to keep and use with v2.0 of the template.

    It seems if I copy the forms then try to copy them back I run into a bunch of issues. Some stem from addition of columns or fields in the IP form, some could be version differences, list guids.... a lot can go wrong.

    Whats the best way to accomplish this without the least amount of headache? Is there a widely accepted approach?

  • 01-06-2011 09:39 PM In reply to

    Re: Infopath Content Migration - Dev UAT Prod

    Hi LBellows,

    Sorry for the delay. Somehow we missed this over the holidays.

    The key thing is to make sure the content model (i.e. the data source or schema) for the two forms is compatible. If the schema for v1 and v2 are compatible, you can just publish your new form to SharePoint. Hopefully you are using a Content Type (instead of just a Form Library) but it will work in either case. The Content Type approach allows you to handle promoting different fields to same columns if the schemas have diverged (see Jo-Anne's blog from October) and are no longer strictly compatible. We have a training module in our InfoPath Master Class on how to do versioning and it may be useful for you to review that too - email CourseManager (at) Qdabra (dot) com for more info.

    If you have added fields to v2 and are wondering if it's still schema compatible, it will be if the new fields were not added as "required". Moving the 700 v1 forms should not result in issues unless they include surrogate keys, like SharePoint list IDs, etc. Best practice moving forward is not to use surrogate keys for the data. Use a natural key instead that is derived from a set of fields in your InfoPath form (and concatenated into a new field that also resides in your main data source). That way, moving the forms won't break them. Once again, with content types and a library that has multiple InfoPath content types bound to it you can work around the promoted property issue (since there is separate mapping for each content type).

    We also have tools to allow you to move forms and XSNs around and even to batch version upgrade the data. Send me email if you are interested in these.

    Hope this helps a little, 

     

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.