Infopath form template not upgrading after changes?

An Infopath solution wasn’t quite behaving as expected.

I wanted to make some changes and try some things out so i copied some of their XML files into my sharepoint document library so i’d be able to test against real data

I made the changes to the template but when i tried to edit one of the existing forms the new changes weren’t displayed. New forms were fine though

I went back into design mode and checked that the “automatically upgrade” option was selected.

I manually changed the form version number in case it hadn’t be incremented. No difference

The answer came from the newsgroups! (Thanks Scott L. Heim!)

If you open the XML file in notepad at the top of the file is a HREF entry that points to the XSN file. The entry was invalid as the files were now in a different document library (mine!)

I manually changed the entry so that it reflected my setup and all was well and i resumed testing without issue

The following two tabs change content below.
Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.

Latest posts by Andy Parkes (see all)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.