open old xml-form with old xsn - InfoPath Dev
in

InfoPath Dev

open old xml-form with old xsn

Last post 08-21-2009 02:33 AM by [email protected]. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-20-2009 07:09 AM

    open old xml-form with old xsn

    Hi,

    I have a library with InfoPath-xml-files based on a specific xsn-file. I want to change the scheme drastically so the new xml-files will be different.
    However, the old forms should still open with the old xsn-file. The problem is that whenever I open the old forms, the open with the new Schema.

    How can I make sure that the old forms open with the old xsn and the new files with the new xsn? All this has to happen in the same current webpart, because code is linked to this webpart.

     

    Thank you,

    christophe

  • 08-20-2009 08:34 AM In reply to

    Re: open old xml-form with old xsn

    Hi christophe,

    I'm not sure if this is the right solution for you, but could you try the following steps:

    1. In your form, click Tools > Form Options

    2. Click Versioning. Inside "Versioning" category, there is an option to manage version upgrades. The option "Automatically upgrade existing forms" is selected by default. Can you try selecting the option "Do nothing"? Then re-save your form.

    3. Re-publish your form to your library and see if that works.

    More information here: http://office.microsoft.com/en-us/infopath/HA100522701033.aspx

    Or you could try Patrick Halstead's idea of creating separate views for each version and add an Open rule to switch to the correct view based on the version in the form. You can read the post here.

    Jo-Anne Alfafara
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 08-21-2009 02:33 AM In reply to

    Re: open old xml-form with old xsn

    Hi Jo-Anne,

     

    thank you for your suggestions. However, the versioning does'nt help. When opening the new form I receive the following message:
    "Form Conflict: The form you are opening has the same form ID as a form already on your computer."

    I thought the version number was stored in the xml, so I would suppose that the program knows what version of the xsd to use, but apparently it doesn't work like that. All I want is that my old forms can still be opened and the new forms also. I have added two templates in the sharepoint library, but that doesn't work either.

    I haven't tried the 'creating views' option yet.

    Christophe

     

     

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