Moving a Form Between Environments
Move a finished form from a development site to test and production. List references are re-bound in one dialog on import.
Why moving needs extra care
A form configuration references lists by ID (variables, related items and documents, lookup fields, the Create item and Update item actions, Open form buttons). On another site or tenant the same lists have different IDs, so a plain export and import would break those references. A portable package adds information about the lists and re-binds them to the lists of the target site on import.
Portable export is a Pro feature. Plain JSON export and import remain available in Community.
Step by step: Dev to Prod
- On the development site open the form designer, the More options menu, and choose Export for another environment. A file
form-config-<list>-<yyyymmdd>-portable.jsonis downloaded. - On the production site prepare the lists the form refers to (the same titles, or the same addresses inside the site) and open the designer of the target list's form.
- In More options choose Import configuration (.json) and pick the file.
- The Re-bind lists step opens. Each row is one source list with the places that use it. A list is matched automatically by its address inside the site, then by title; a match is shown in green. For lists that were not found, choose the target list, optionally another web (same tenant), or skip the row.
- Confirm Apply re-binding. The configuration is placed as an unsaved change; check the preview and save the form. The previous version stays available in the configuration history.
Word templates of the Document from template action have no list ID, only a file path. When a package is imported into another web, a Word template row with the .docx file path is therefore offered below the lists; it is prefilled by replacing the source web prefix with the target web, and you can edit it. When the source and target webs are the same, the row is not offered. A template on another web (the template Web field) keeps its original path until you edit it.
References to the form's own list (for example a variable reading the same list) are re-bound automatically to the list you are importing into.
Missing columns
The package also records the columns used by the form. If some are missing in the target list, the import reports it and, for a package, offers Create missing columns (you need list manager permission). The dialog lists the columns first and writes to SharePoint only after you confirm. You can also continue without them; the fields are then left out of the form.
Plain configuration from another site
Importing an ordinary JSON also opens the Re-bind lists step when a referenced list does not exist on the target site. Skipped references stay unchanged and the designer flags them with warnings.
Limits
- Only references to lists and webs are re-bound. Group IDs, term IDs and other values inside texts and scripts must be checked by hand.
- Webs must be in the same tenant (same host); moving between tenants means re-binding lists on a web of the target tenant.