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) »
  • 2.0.5 Import Question
Pages: [1]

Author Topic: 2.0.5 Import Question  (Read 1373 times)

VRAZER

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 1
2.0.5 Import Question
March 17, 2009, 08:00:07 pm
What is the import in 2.0.5 "supposed" to do when you tell it to update records?  Is it supposed to update at the field level or the row level?  What "seems" to be happening is that it's updating at the row level and wiping out data if it's not included in the import (a field replacement even for "null" values) instead of a field merge.

Fill is more along the lines of what I'm thinking that update does I guess (with the MAJOR exception that it doesn't overwrite existing contact fields with changes).

Is there an incremental update solution in CiviCRM?  Is that what update is supposed to do?  Or should it be doing full record replacement?

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: 2.0.5 Import Question
March 17, 2009, 10:37:24 pm
hi,

Quote
What is the import in 2.0.5 "supposed" to do when you tell it to update records?
IMO Those field that you mapped during import those will get update. Update will not insert field value when field is null in db.
Quote
Is it supposed to update at the field level or the row level?
One row from .csv file consider as one record and we perform import row by row, but update for that row will be dependent on number of fields mapped.
Quote
What "seems" to be happening is that it's updating at the row level and wiping out data if it's not included in the import
You can't make any db field null by passing empty value from .csv file.

We have done lots of code enhancement for import functionality
You might want to run your test case here : http://demo.civicrm.org/

HTH

kiran
« Last Edit: March 17, 2009, 10:39:05 pm by kiran »
You Are Designed To Choose... Defined By Choice.

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

This forum was archived on 2017-11-26.