Skip Navigation

[Resolved] How to export custom post type data and related repeatable field group data

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by jorgel-4 5 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1292309

Tell us what you are trying to do?
I tried to export the custom post type content of the Report Members but experience problems with the repeatable field group content nested in them.
Meaning I only could find a way to them separately but not as is required to be one related data-set, i.e. main custom post type and related repeatable field group content.
I tried this with both WP Tools - Export and WPAllExport plugin. Both seemingly allow for the export of either custom post type post Report Members or related custom post type repeatable field group Report Members. And not even caring over their relationship.

Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/exporting-and-importing-post-content/ and
https://toolset.com/2018/10/wp-all-imports-integration-with-toolsets-types-fields-and-post-relationships-makes-it-easy-to-import-your-data/

#1292369

Hello,

I suggest you try with WordPress built-in export/import tools, for example:
1) In the original website, get below three files:

a) Dashboard-> Toolset-> Export / Import-> Types
Export Types data
You will get one Types plugin setting files

b) Dashboard-> Tools-> Export
You will need to export at least two files:
- posts of "Report Members"
- posts of " repeatable field group content"
https://toolset.com/documentation/user-guides/exporting-and-importing-post-content/

2) In target new website:
a) Dashboard-> Toolset-> Export / Import-> Types
import the Types plugin setting file of step 1a)

b) Dashboard-> Tools-> Import
Import both files of step 1b)

c) Dashboard-> Toolset-> Export / Import-> Associations
click button "Start Import" to import the posts relationship settings, see our document:
https://toolset.com/documentation/user-guides/importing-content-from-csv-with-post-relationships/#an-example-of-how-a-csv-would-look-like
screenshot:
https://toolset.com/wp-content/uploads/2018/04/associations_table.jpg

#1292739

Hello Luo,

Sorry I was obviously not clear about what I need.
I am not meaning to do a post migration into another WordPress website!?
I need to export the custom post type post with their associated repeatable field group content as an XML export file. Them being combined in one XML export file.
And I have tried what you suggested but there is seemingly no option, so is there another way?

Kind Regards

Dieter

#1293219

There isn't such a built-in feature within Toolset plugins, the "repeatable field groups" are based on one-to-many relationship, so it is also a custom post type, each item of repeatable field group is also a single post.

So you will need to export two XML files from original website as I mentioned above in step 1b) :
https://toolset.com/forums/topic/how-to-export-custom-post-type-data-and-related-repeatable-field-group-data/#post-1292369

And import both of them into new target website, then run the "Start Import" button to import the posts relationship settings

#1298929

As this seems to be not a common issue even for WP All Im/Export as an export specialist. I had to employ a third party developer creating a plugin to be able to export each Toolset custom post type post and its related repeatable field group as a combined XML/CSV data-set.

My issue is resolved now. Thank you!

#2045247

Hi,
I am having the same problem to export some CPT and their respective RFG.
Is this possible today with WP All Export + Toolset?
Or maybe at least get at RFG export csv the URL of the CPT it's related to?
Excuse me for the daring DieterR7285, would it be possible to share that plugin that you developed? We don't have the time or the budget to develop something like this right now.