Starting with Nimblex 5.4, every time an eForm is edited, a revision of the form design is saved to the database. This allows us to go back to earlier versions of the form at any time, and export and open them in the designer. Why is this useful?
- If a mistake is made, you can go back to before it was made
- If you need to deploy changes from a development system to a production system you can now easily compare before and after
- When changes have been made that haven’t been documented properly, you can now go back and review what exactly happened
To create a revision, from in the designer, all you have to do is press ‘Save’.
This will pop up with a confirmation window. This window will tell you about some kinds of more dangerous changes, like deleting controls or fields, and offer you an opportunity to write a comment about what was done and why.
Save Confirm and Comment
This will be readable later in the page. Now, open the Control Panel, and then click on ‘Manage EForm Designs’ (as below).
Now select a form name, and press the highlighted ‘Revisions’ button.
This will bring up the revisions list for this form, from newest to oldest. Each revision will include a ‘Comments’ field. Imports of forms will include a comment to that extent, and manually entered comments as shown earlier will also display.
To open a revision in the designer, click ‘Open’ next to that line. This will not restore it unless you save the restored design. You can use this to see what has changed, and you can also copy/paste out changed controls if need be.
You can export a revision using the adjacent ‘Export’ button. This file format is identical to the normal form export, and can be useful for comparisons in external tools (E.g. WinMerge). You may also wish to restore the design as a different form name, which can be done in the form import page.
To restore a revision, use the adjacent ‘Open’ button and then save it.