Export/Import Issue

By: Guru Prasath | Asked: 09/29/2023
ForumsCategory: How-toExport/Import Issue
Guru Prasath asked 7 months ago
Hi, We are doing an export import function from live to staging site. What we want is the same form and field ID's but while we import, all ID's get changed. Is there a way we can prevent this happening and retain the same ID's? We use form view shortcodes(with field ids) in lot of pages so its really time consuming to change all those pages manually. Instead if we can get the same form & field ID's we can solve it easily. Any help is appreciated. Thanks
2 Answers
Best Answer
Victor Font answered 7 months ago

No. Ids are controlled by the WordPress database, not Formidable. Keys are used to help write transportable code. See this: https://formidable-masterminds.com/writing-transportable-code-keys-vs-ids/

Guru Prasath replied 7 months ago

This is correct answer. Thank you so much.

Rob LeVineRob LeVine answered 7 months ago
*caveat emptor* this can be dangerous - If you're going from live to staging, you can use a plugin such as WP All In One Migration tool, to move the whole site and thus the ids will be preserved as you're essentially cloning the site.  If you're going from staging to live you could do the same thing, though you'll lose any new data added on the live site since the last time you did that.  Thirdly and even more frightening is the option of going into phpMySQLAdmin and exporting formidable tables from one server and importing to another.  These can all be scary options, and I have had success with them in very closed systems. I don't recommend them for the faint of heart *caveat emptor*
Jane OnoratiJane Onorati replied 3 months ago

I've tried importing tables to a site with a fresh install of formidable and it did not work. There were things missing. I don't remember exactly what because I tried this a while back and gave up on that method.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community