Try our conversational search powered by Generative AI!

Export & Import EPiForms



We are setting up a new environment for our Editors to do some major content changes for our rebranding based on Current live EPiserver DB.

Editors will be doing extensive content changes with copied DB from live.

After a couple of months, we will switch our live site to the DB where Editors have been doing their changes.

At that moment we will require to move FORMS data from current live DB to new DB where editors have been adding the contents.

How? Best Approach? Issues we might have?

(EPi Project feature is not a good option for us)

Best Regards


Jun 18, 2019 15:59


You can do that by following:

  1. Export and import your form structure, make sure they are the same in 2 DB.
  2. Setup 2 site: source and target site with the 2 DB.
  3. In source site: Using ServiceLocator to get IPermanentStorage object which allow you manipulate with the Forms data. Use the service to load form data then save data (serializable object) to somewhere.
  4. In target site: Create a map that can tranlsate from source field (ex: __field_123) to target field (ex: __field_456). Forms used pattern __field_{ContentId} to generate fields. So you need to know element ID (element is a content) of both 2 site.
  5. Load your saved data, create Submission base on the data using your map above (replace field name __field_123 with new field name __field_456)
  6. Use IPermanentStorage to save data to target site.

Hope this helps.

Jun 19, 2019 9:51

Do you mean there is no way other than coding this solution?

We are talking here each and every form created on Source DB.

Jun 19, 2019 11:36

There is no feature that allows you import form data. So you need to code for that.

Jun 19, 2019 11:56

Time for a new addon than, Thanks :) 

Jun 19, 2019 12:14
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.