Versioning InfoPath Forms
Posted by David Frette on January 19, 2011
Almost everyone working with InfoPath forms knows that each time they publish a form, it creates a timestamp and a version number for the template. In InfoPath, go to Form Options and you’ll see this dialog:
Well, if you need to keep track of the version number for your form, you can make it easy on yourself and others by adding a small field at the bottom of your form. Then in the default value of this field, insert the formula
substring-before(substring-after(processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'solutionVersion="'), '"')
Here is a simple screenshot that shows the control
And here is what it renders like (screen clipped a lot):
I hope this helps you keep track of InfoPath forms version numbers. I know it will me.
Advertisement





Tweets that mention Versioning InfoPath Forms « David Frette's Blog -- Topsy.com said
[...] This post was mentioned on Twitter by SharePoint Buzz. SharePoint Buzz said: RT @davidfrette: Keeping track of InfoPath Forms version number http://bit.ly/fqNKKq #sharepoint #infopath [...]