We are trying to remove all reference to a previously integrated Infopath form in a process within Visual Studio. We have done the following:
1. Removed all InfoPath Client Events in the process
2. Run InfoPath Integration and removed the form in the process
3. Removed the form from the InfoPath Form template folder in the process.
We then saved and closed / reopened the project, and dragged on our new InfoPath Client Events, which opened the InfoPath Integration wizard and added the new form. Once completed, we deployed, and noticed that in the output, it is creating references to versions of the previous form (i.e. FinalLoading1.xsn, FinalLoading11.xsn). This is causing errors when running the process, as the form will not load, as xml fields in the old forms are being referenced.
Example: our main look-up field is named DealPack ID. The server event should populate an xml field on FinalLoadingForm.xsn, but is trying to populate it on FinalLoadingForm1.xsn etc.
How do we remove all references to the previously integrated forms, and then run the Integration Wizard to set the new form up, without re-generating references to old versions of the form?