Forms versions
This topic looks at forms versions.
Nintex Forms 2013 provides version management for forms, by automatically incrementing the version number depending on how the form is stored in SharePoint.
Each form has a version number consisting of a major version and minor version, as shown in the following format, where <Major> represents the major version and <Minor> represents the minor version:
<Major>.<Minor>
Incrementing the Forms version
If a form is saved by clicking the Save button in the Forms designer the minor version of the version number is incremented. The minor version is incremented even if no changes were made to the Forms before saving it.
If a form is published, either by clicking the Publish button in the Forms designer or by using the PublishFormXML service operation, or its related operations, from the Forms web service, the major version of the version number is incremented. As with saving a form, the major version is incremented even if no changes were made to the form before publishing it.
For example, if you created a form in the Forms designer, but haven't yet saved it, the version number for a new form starts at 0.0. If you then click the Save button in the FForms designer, and save the new form, then the version of that form is incremented to 0.1. If you immediately click the Save button again, without making any changes to the Forms, and save the new form again, the version of the form is incremented to 0.2. If, at this point, you click the Publish button, and publish the form, the version of the form is set to 1.0.
Incrementing the major version of a form resets the minor version of the form to zero (0). For example, using the published form from the previous example, you revise and save that form again, so that you have a published version of that form, whose version is set to 1.0, and a saved version of that form, whose version is set to 1.1. At that point, if you again publish the form, the version is set to 2.0.
The version information for a saved or published form is maintained on the server. The version information is not included with the form XML when the form is exported.
Working with prior versions
Nintex Forms 2013 always uses the latest published version of a form. However, it also retains prior versions of that form, and you can access a list of all saved and published forms from the Forms designer. From this list a form can be rolled back to a specific earlier saved or published version. For more information about opening prior versions of a form, see the Nintex Forms 2013 product documentation.
You cannot use the Forms web service to retrieve prior versions of a form. The ExportFormXml service operation always exports the latest saved version of a form. Similarly, the SaveFromXml and PublishFromXML service operations, and some of their related operations, overwrite the current version of a form with the contents of an exported Forms and increment the version number on the server, regardless of the version or contents of the exported Forms.