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) »
  • Note Import via the UI Wizard Doesn't Allow Note Date
Pages: [1]

Author Topic: Note Import via the UI Wizard Doesn't Allow Note Date  (Read 522 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Note Import via the UI Wizard Doesn't Allow Note Date
October 07, 2013, 02:35:30 pm
Hi Folks,

It looks like the Note import functionality via the wizard is fairly primitive and that if I wanted to:
-- designate a contact ID who added the note
-- add a subject
-- associate the note with the date it was added

then I would have to do that import via sql.

Am I correct about that, or is there something I'm not seeing.

Using 4.3.7 for Drupal 7.

Thanks,

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Note Import via the UI Wizard Doesn't Allow Note Date
October 07, 2013, 02:46:05 pm
Hey Shai,

Another option besides SQL and the web UI is the command line, which is IMO the preferable way to do note imports.
/path/to/Civi/bin/csv/import.csv -e Note /path/to/filename.csv

You can use "Export" to see the field names - or you can look them up in the API explorer.  However, the fields you'll want are:
entity_id, note, modified_date, subject.

entity_id should be the id of the contact id you want to link the note to - and be sure to put in a header row on your .csv to indicate which columns are which!

Jon
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Note Import via the UI Wizard Doesn't Allow Note Date

This forum was archived on 2017-11-26.