Thursday, April 25, 2013

Versioning Your Published InfoPath Forms

Versioning Your Published InfoPath Forms

Infopath template has version number, you can see the number via Form Options/Versioning. Also whenever you publish the infopath form, the version number is incremented.

A good practice of designing infopath form template is to show the version number on the form. You can add a calculated value field to the bottom of the form and set its default value to

substring-before(substring-after( /processing-instruction()[local-name(.)
  = "mso-infoPathSolution"], 'solutionVersion="'), '"')