InfoPath 2010 Deployment - from Development to Production - Editing Manifest.xsf file

One major issue we encountered in InfoPath 2010 forms during deployment is that the Data Connection's Connection Source cannot be changed easily... we successfully changed the UDCX files and everything but this URL remains unchanged ! See the image below



Solution
To resolve this issue we need to actually change the manifest.xsf file. Thanks to this link which provides us with the best solution


  1. Change the extension of infopath form from XSN to CAB.
  2. Unzip/Extract the files to any location you like
  3. Find manifest.xsf in the directory and open it in Notepad (or some other text editor).
  4. Find and replace all instances of existing URL with the new one.
  5. Save the modified manifest.xsf.
  6. Right-click the modified manifest.xsf, select DESIGN, and finally use File | Save As… to save the form template as a XSN file. (This is the only way to regroup the files back to XSN FORMAT). OPENING FILE in DESIGN is really important. Without that you will not be able to open the XSN file.

Hope this will help someone !

Thanks

Comments

Popular posts from this blog

Export Data from AX 2012 - using DIXF (Data Migration Framework)

The virtual path maps to another application, which is not allowed

Agile Management - TFS (Priority, Stack Rank and Severity)