Automatically Update Form Based on New Template - InfoPath Dev
in

InfoPath Dev

Automatically Update Form Based on New Template

Last post 07-09-2010 10:52 AM by Ted Fitch. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-09-2010 06:35 AM

    Automatically Update Form Based on New Template

    I recently administratively deployed a new version of a browser based form that has some new fields and sections in it.  My form library has ~20K forms in it.  When I open an old form through the library, the form is automatically updated and contains the new fields.

    However, I do not want to open 20K forms to have their XML updated.  Am I missing something in the upgrade process of the template, or some easy programatic way to force this update to the individual forms in the library?

    The why I am doing this:  I programatically update data in the forms based on massive CSV file uploads from our suppliers, and would rather the fields and sections always be there, and not have to worry about adding them on the fly. I would prefer to handle things this way, up front, rather than making my event logic on the CSV file processing more complex.

  • 07-09-2010 10:52 AM In reply to

    Re: Automatically Update Form Based on New Template

    I don't know of anyway to do this through the SharePoint UI or do it automatically in SharePoint (re-linking won't do this and besides relinking 20k documents would be insane to do!).

    In the projects that I have managed where this was a requirement my dev team built a little tool (.net app) that would go to the library, grab an xml, evaluate it if it needed to be upgraded and then actually upgrade the XML and save back to SharePoint.  Obviously this required code but that is the way we have done this in the past.

    Hope that gets you going in the right direction.  If you want some consulting help on this we do offer that as a service and we could help you out, feel free to send me a private message.

    Ted

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