WordPress.org

Forums

Import CSV with Ultimate CSV Importer
[resolved] Custom Fields while importing are not showing with proper names (11 posts)

  1. kb0000
    Member
    Posted 1 year ago #

    Some of the existing Custom Fields (in drop down menu while importing csv file and matching with Column Headings in CSV) are not showing proper names like CF: field_name instead they are shown as CF: field_xxxxxx (where xxxxxx is some number). With this I am no able to recoginse the Custom Field Name and not able to map with Column Heading.

    How to correct this issue?

    http://wordpress.org/extend/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 1 year ago #

    What custom field plugin you are using? This is how custom fields are stored by the plugin just as other WordPress fields.

  3. kb0000
    Member
    Posted 1 year ago #

    wp-ultimate-csv-importer

  4. kb0000
    Member
    Posted 1 year ago #

    Sorry, I am using Advanced Custom Fields plugins. But wp-ultimate-csv-importer is showing some fields correctly and some with field_xxxxxx.

  5. smackcoders
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, expected. Our plugin is compatible with ACF plugina as it works different than normal Custom field plugins. Only customization is possible as it will break compatibility with other top plugins.

  6. bernardberry646
    Member
    Posted 1 year ago #

    I have the exact same problem. Really wish I had known this before spending hours preparing CSV specifically for your plugin!

    You said, "Ok, expected", well why not put in your plugin's description some kind of warning that you already KNOW your plugin and the most popular plugin for custom fields don't work together?

    Not really sure I even understand why you say, "Only customization is possible as it will break compatibility with other top plugins." As ACF is THEE top custom field plugin by far, you would think making your plugin work with it would increase the use of your own plugin. Infact, I'm forced to now deactivate and delete your plugin to look for another importer.

    Actually a simple fix would be if your plugin asked if one is using ACF then your plugin would simply not list any CF: field_xxxxxx (where xxxxxx is some number). There are a few ways to get them to work together, especially since ACF only uses the _postmeta table!

  7. smackcoders
    Member
    Plugin Author

    Posted 1 year ago #

    It is not simple as you said, we are still working on this. Hope you can contribute some code changes as this a free open source plugin.

  8. paulogoode
    Member
    Posted 1 year ago #

    I've been working with 'Advanced Custom Fields' too and had the same issue.

    I did work out a resolution though. I saw in my case that

    • CF: address
    • CF: city
    • CF: etc.

    all worked perfectly, but

    • CF: food
    • CF: links
    • CF: website, etc.

    did not...

    Any custom field name that is labelled alphabetically higher than 'field' was resulting in it being named 'CF: field_5229dbec8dec1', etc.

    So, I appended each 'Custom Field Name' with a prefix of "a-", so I now had:

    • CF: a-address
    • CF: a-city
    • CF: a-food
    • CF: a-links
    • CF: a-website

    I then set up a test post with every custom field having dummy data added which I then published - this ensures your new custom fields are all added to the database.

    Ultimate CSV Importer was then used to import all content as intended without any confusion.

    It worked perfectly... it just took me a long time to figure out how to get there!

    I hope this helps.

  9. bernardberry646
    Member
    Posted 1 year ago #

    Yep, I did notice everything above letter "F" didn't have a readable field title for mapping. I can see where your use of "a-..." would work.

    I'm trying this now also. I'm certain it will work for me also.

    Great find Paulogoode!

  10. paulogoode
    Member
    Posted 1 year ago #

    I'm glad I was able to help :)

  11. bernardberry646
    Member
    Posted 1 year ago #

    Now only if I could use this to do updates to fields vs 'having' to create post/pages with it lol.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Import CSV with Ultimate CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic