Need to force upgrade of form template in InfoPath 2010 - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Need to force upgrade of form template in InfoPath 2010

Last post 07-08-2011 11:32 AM by elisheva. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-13-2011 12:05 PM

    Need to force upgrade of form template in InfoPath 2010

    Some background: my form was created in InfoPath 2010, as an InfoPath 2003 compatible form. It has managed code behind it and it is published directly to a SharePoint 2007 form library.  I want users to automatically get the latest version of the form template, and that is what I have selected in the versioning option. However, those who are using InfoPath 2010 always get a message when they open a new form (after the template has been updated) that says “Update Your Form” along with a button to “Save and Update Form.”  Here is what I have tried while trying to eliminate this: 1.       Publishing as a site content type.2.       Publishing to a network location instead of to SharePoint.3.       Publishing to a network location and changing the form name (from this post http://www.infopathdev.com/forums/p/19260/66833.aspx)4.       Updating the version number to something totally new (like 2.0.0.1). 

    None of these work. This is a heavily used form and I don’t want anyone to get this Update message, especially because it makes the form not work correctly so it has to be closed and reopened. (The form is opened from another application and pre-filled.) I need to figure this out before everyone is upgraded to Office 2010.

     

    Does anyone have some other ideas I could try?

     

    Thanks,Beth 

     

  • 06-17-2011 06:50 AM In reply to

    Re: Need to force upgrade of form template in InfoPath 2010

    I forgot to add that the code is in C# and it's not a browser form. However, if it would work better as a browser form, I would do that, despite having to have an administrator involved in publishing. I did try to switch it but it said the language was incompatible.

     Anyone have any ideas?

     Thanks,

    Beth

  • 06-17-2011 11:33 AM In reply to

    Re: Need to force upgrade of form template in InfoPath 2010

    I am replying to my post once again. The code behind the form is with the 2003 Object Model, which I now realize is the reason that it can't be published as a browser-compatible form.

  • 07-08-2011 11:32 AM In reply to

    Re: Need to force upgrade of form template in InfoPath 2010

    I finally contacted Microsoft Support and this is what I was told:

    Unfortunately there is no way to avoid the InfoPath 2010 users getting that prompt to “Save and Update Form”.   Even with code it is not possible.
    The users will only get the prompt the initial time to Save and Update Form as you already know, and then any subsequent openings will not prompt the users for any updates.  The only way around this option is to have the InfoPath 2010 users clear their InfoPath cache first, before accessing the forms.  This will delete the currently saved template information that is in their cache, so it will not prompt them to save and update the form since it doesn’t have any record of there being an open form.

    The way to have users empty their InfoPath cache is by doing this:
    Have them go to Start then either launch “Run” or in their “Start Search” bar (right above the Start button) have them type the following command:   InfoPath  /cache clearall (this will launch the InfoPath client on the user’s machine and they will now have empty InfoPath cache)

    I'm now following the path of making my form browser-enabled.

    Beth

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