CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Deleting contacts during import
Pages: [1]

Author Topic: Deleting contacts during import  (Read 904 times)

Ed van Leeuwen

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Drupal 7.x
  • MySQL version: MariaDB 10
Deleting contacts during import
October 31, 2009, 11:25:04 am
Is there a way to delete records on import?

Example: I am importing csv files containing complete administrations. New contacts are added, changed are updated, but I cannot find a way to delete the contacts which have been removed.

If there is not, I would suggest to have contacts deleted when all fields are blank except the contactId itself.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Deleting contacts during import
October 31, 2009, 01:57:54 pm
Quote from: edvanleeuwen on October 31, 2009, 11:25:04 am
If there is not, I would suggest to have contacts deleted when all fields are blank except the contactId itself.

we would recommend you use the civicrm api to delete a set of contacts (when u know the contact id)

i dont think import should do any deleting

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Deleting contacts during import

This forum was archived on 2017-11-26.