Importing Relationship Fields

Closed

Import WP Addon - Advanced Custom Fields Updated 2 years ago 6 Replies

Boris asked 2 years ago on April 9, 2023 at 8:35 am

I’m trying to import ACF Relationship Fields but that doesn’t appear to be working from CSV. Is this possible and if so how do I go about it?

Thanks, Boris

J

James replied Support Agent

2 years ago on April 9, 2023 at 9:52 am

Hi Boris,

Can you let me know what the column of the csv file contains and how it is linked in the relationship field? so i can help solve your issue.

For example it is the title of a post type?

slug of a page

James

BC

Boris replied

2 years ago on April 10, 2023 at 2:36 am

Hi James, 

Thanks for your reply. The column on the CSV file contains text (exact same name as the name of the corresponding Relationship entry). The Relationship fields are not the title, but different post types. This is for a database of artworks, where each artwork has an Artist, Collection, and Exhibition that are Relationship fields so that they link to lists of all artworks by an Artist, in a Collection, or in an Exhibition. I've attached screenshots of the front and back end. 

Let me know if you have a solution for bulk uploading those three Relationship fields.

Many thanks,

Boris

J

James replied Support Agent

2 years ago on April 11, 2023 at 12:24 pm

Hi Boris,

If you can add the attached plugin to your website, this adds the ability to import acf relationship fields searching through the provided post types looking for the reference by name.

James

 

BC

Boris replied

2 years ago on April 12, 2023 at 6:42 am

Hi James,

Thanks so much for looking into this. I've installed the plugin and activated it, and tried to upload again but the relationship fields are still not updating. I've attached some screenshots here - is there something I'm doing wrong?

Cheers, Boris

J

James replied Support Agent

2 years ago on April 12, 2023 at 7:55 am

Hi Borris,

Can you look on the custom field dropdown list for the artist field prefixed with "Advanced Custom Fields" instead of "Raw Field" ?

If there are no fields prefixed with "Advanced custom fields", can you make sure you have the latest version of the ACF Addon https://www.importwp.com/integrations/advanced-custom-fields/ and follow this guide to show all acf fields: https://www.importwp.com/docs/advanced-custom-fields-faq/#unable-to-find-acf-field-in-custom-field-list

James

BC

Boris replied

2 years ago on April 13, 2023 at 11:35 am

Hi James, thank you - that works now after installing the addon!