You want to move a form to another system, keep it in git, or check it before an import. You need READ to export. An import as a new form needs CREATE in Inspection Forms (MANAGEINSPFORM) with INSERT and SAVE of the object structure MXAPIINSPFORM. An import as a revision needs REVISION with INSERT and SAVE.
A form moves between systems as one file. The file names things by their content only, so two exports of the same revision are equal, and git shows real changes.
Export. In the list, the menu ⋮ of a revision has Export to file. In the editor, the icon Export to file in the bar does the same. The browser saves the revision as a JSON file. The file holds the formulas, the names of the form scripts, the instructions, the numeric range and the other field settings, and the names of the attachments. A field type your administrator added, such as Comment, keeps Manage’s value in the file, and so does a type the editor does not know. It holds the name and the folder of each attachment and leaves the files: the documents stay in the source system. The file holds what Manage holds. While a change is not saved yet, the editor exports nothing and says so in a line under the bar. Export again when the save is done.
Import as a new form. Click New form, then From a file…. Choose the file, or paste its text into Form file, for example from a merge request. Before anything is written, the dialog shows what the import makes, the form check of the file, and the meters, domains, document folders, automation scripts and field types the file needs that this system lacks. A field type that this system holds for another kind of field stops the import too. Name, organization and site start from the file, and you may change them. Find an organization works as in New form. Manage gives the new form a number of its own. Click Import.

Before the import, the dialog says what it creates and what the form check of the file finds.
Import as a revision. The menu ⋮ of a revision has Import as revision… when four things hold:
- it is the newest revision of the form;
- it is Active or Inactive;
- no Draft or Pending revision of the form is open;
- you hold REVISION of Inspection Forms (MANAGEINSPFORM) with INSERT and SAVE of MXAPIINSPFORM.
Otherwise the menu has Why no import as revision?, which names the reason. The file’s content
becomes the next revision, a Pending revision. The dialog
lists the questions added, changed and removed. It warns when the file comes from another form, and
it does not start when the file holds what the newest revision holds already. The file
beam-engine-lubrication-r2.inspform.json is revision 2 of the beam engine round: an
import as a revision of beam-engine-lubrication.inspform.json makes the same change.
What stops an import. A name the file needs and this system lacks stops it, until you create the name in Manage or change the file. So does a list your account may not read, and anything Manage would not store. A name that another form of the organization and site holds stops it too, and the dialog names that form. A form without a site needs a name that no form of its organization holds. The import adds no attachment and says so: add the files in the editor after the import. Cancel writes nothing.
An import that stops halfway. Manage takes a new form with its questions first, and its rules in a second request. When Manage refuses the second request, the form stays in Manage without its rules. The dialog names the form with its number and place, says what it holds and what it lacks, and offers Delete form …. Delete it, fix the cause, and import the file again. A missing default insert site in your profile is one such cause.
- The size. The editor takes files up to 3,000 kB, so a form with a picture in its instructions fits. A larger file shows “The editor cannot read this file” with its size.
- The format version. The editor writes format version 5 and reads the versions 1 to 5. A file of an older version imports, and it holds none of the newer parts. A file that holds the old type words INSPECTION or ROUND, or the old icon name checkmark–filled, imports with Inspection, Round and IBM’s check mark in a circle. A file of a newer version is refused with its version: “The file has format version 6. This editor reads versions 1 to 5. A newer editor wrote it.”
- The free edition. A file with more than 10 questions does not import, as a new form or as a revision. The dialog names the number of questions in the file.
