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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Setting Communication Preferences on Import
Pages: [1]

Author Topic: Setting Communication Preferences on Import  (Read 554 times)

dotman

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Setting Communication Preferences on Import
October 28, 2011, 01:02:42 pm
I'm working through importing some legacy data and am wondering how I can get the Com Prefs like email greeting, postal greeting and addressee, setup correctly since they seem to use tokens. Can I automate this after I bring in my contacts or do is there a special way I have to prepare my data for those fields. If nothing is set, will it use a default setting, meaning I shouldn't have to worry about it?

Thanks,
Doug

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Setting Communication Preferences on Import
October 28, 2011, 01:54:35 pm
Hi Doug - You need to run a script after the import that will populate those values. There are a number of options you can use for this with the script. Doc is here:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Update+Greetings+and+Address+Data+for+Contacts

... and check this page too if you haven't use command line scripts w/ Civi yet:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Command-line+Script+Configuration

Might also be some doc in Understanding CiviCRM online book.
Protect your investment in CiviCRM by  becoming a Member!

dotman

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Re: Setting Communication Preferences on Import
October 28, 2011, 05:07:08 pm
excellent, thank you. are there any other fields similar to this that I should be aware of regarding the other modules? Would appreciate any common hurdles that I need to make a task list for. Particularly after I have my contacts in using the legacy account number as my GUID, for say, donations, memberships, etc.

Thanks,
Doug

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Setting Communication Preferences on Import
October 29, 2011, 01:01:57 pm
Those 3 fields are somewhat unique as their is a cached version w/ tokens pre-evaluated in the contact table.

Regarding legacy account # - I'm assuming this is a unique ID for each contact from your previous DB / spreadsheet. If so, you should import that to Civi's "external identifier" field. That field is designed to be used for exact matches when importing transactional data (donations, activities, memberships etc.) - and is provided in the import mapping screens for those records as a "Match to Contact" field.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Setting Communication Preferences on Import

This forum was archived on 2017-11-26.