You will also need to use Ultimate CSV export plugin in order to export the website data because Toolset itself doesn't export the Contents of your site, it can only export the components of Toolset.
Also the Ultimate CSV importer will be able to import your M2M relationships as well when you make the modification.
Unforutnately no I don't have any information on how to export the information itself. What you can try doing is to contact the support forum for the plugins to see if they can provide any information on how to get this done.
I know that these plugins should provide a way to export your data as CSV.
Hi Shane,
I have read through the links you shared but still unsure how I can do the first task - export all [Toolset posts] with their associated M2M relationships.
Can you please help?
Thanks,
Cat
Ok I did some consulting with my team on this one and you can actually export the Relationship information but as an XML. I've been trying to find a plugin that could export the relationships as a CSV but wasn't able to.
If you go to Tools -> Export you can use the default wordpress exporter to export the Posts with the relationship information.
You will see a meta section in the xml called "<wp:meta_key><![CDATA[_toolset_associations_owner-hotel]]></wp:meta_key>"
This will contain the relationship information. I must apologize for the lack of information as I can see that we have little to know information on how to export the post data itself.
I'm in Tools -> Export to use the default wordpress exporter to export the Posts with the relationship information.
What should I be selecting to export here?
- In this instance, each post is a "National listing"
- The M2M relationship is between "Support Categories" and "Support Sub-categories"
- Each "National listing" post is linked to one or more "Support Sub-categories"
I would like to export all "National listing" posts so that I can see the "Support Sub-categories" which they are linked to.
I had attempted to export the intermediary posts but this did not provide the information you referred to.
I see what you mean now but that won't be possible.
Given that the Post Relationship is across multiple Post Types, there is no way to export it as how you want it.
The export will put the relationship information in each of the Post Type that is exported.
I would like to see the details for each National Listing post including which Support Sub-categories each post is linked to.
This information is there in the export files for each post type but you will need to check the exports individually and ensure that any modification made in 1 file is consistent among your other files.
Please let me know if this explanation was clear or if further clarity is needed.
Can you expand on the instructions required for this action please, specifically which export files are you referring to?:
- This information is there in the export files for each post type but you will need to check the exports individually and ensure that any modification made in 1 file is consistent among your other files.
Currently each National Listing contains the details of a support service available for one or more Support sub-categories. For example, a National Listing could contain the detilas of a charity helpline that offers advice for those diagnosed with cancer.
We are wanting to recategorise all listings to new categories and sub-categories to improve navigation on the website. The aim is to make it easier and quicker for individuals facing crisis to find help quickly. For example under the "health" category we have the subcategory "cancer". We will be looking to change this so that "cancer" is a category and "breast cancer" "prostate cancer" "bowel cancer" etc. are all sub-categories.
In order to do this easily (we have 1700+ listings) I think we need to:
- Export all National Listings posts with their associated support sub-categories (into CSV file)
- Map 'new' support sub-categories and categories, identifying where 'new' and 'old' support subcategories match
- Set up M2M relationships in toolset
- Run "find and replace" style function on the CSV file so that we can automatically suggest replacements where 'old' subcategories match 'new' subcategories (some of these will require manual review)
- Review and confirm changes
- Import all posts with new associated sub-categories
Am I going around this the right way? Is there any documentation I can look to for guidance?