Skip to content

Moving forms between projects

A form can be saved as a JSON file and imported into another Pimcore project (or the same one), for example to build a form on staging and bring it to production.

  • Export: PimKit > Forms > Forms, row menu (⋯) of a form > Export as JSON. The browser downloads form-<name>.json. Anyone with pimkit_forms_view can export.
  • Import: Import form next to New form, choose the file, check title and name, then Import. Needs pimkit_forms_edit. The form opens in the editor as a draft in the selected folder. Publish it when it looks right.

The name must be unique. When a form with that name exists already, the import says so and suggests a free name (contact_2, contact_3, …). Change the name in the dialog and import again.

Terminal window
bin/console pimkit:forms:export contact # writes form-contact.json
bin/console pimkit:forms:export contact - > contact.json
bin/console pimkit:forms:import contact.json --name=contact_de --title="Kontakt" --folder-id=3
{
"format": "pimkit-forms.form",
"formatVersion": 1,
"exportedAt": "2026-12-01T10:00:00+00:00",
"form": { "name": "contact", "title": "Contact us" },
"definition": { "schemaVersion": 1, "settings": {}, "fields": [], "layout": [], "actions": [] }
}

definition is the form’s draft . The import checks it like a save in the editor, so a broken or hand-edited file is refused with the exact problem. Files from a newer PimKit Forms version are refused until you update.

Not in the file: folder, versions, submissions and secrets. Things that point into the source project need a look after the import, because ids differ between projects:

  • Pimcore document ids (success or “confirmed” redirect, Email documents in actions)
  • Data object classes and folders of a data_object action, asset folders of asset_upload
  • Webhook secrets (only their name is in the form; set the value in Forms settings)
  • Captcha keys (set per project in Forms settings)

Publishing reports actions that are not set up completely.