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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • bulk import select option fields
Pages: [1]

Author Topic: bulk import select option fields  (Read 1263 times)

Clifford Meece

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
bulk import select option fields
June 07, 2010, 06:57:12 am
Hi,
I am trying to create a custom data item called 'school' and I would like to populate a select box (or advanced multi-select box) with a list of schools.  I have over 500 schools. What is the easiest way to get them into the system?  One at a time will take forever, but I didn't see any bulk import function.

Secondly, am I going about this the wrong way?  Should these instead be a 'group' or an 'organization'? I'm also a little hazy on the difference between custom data and profile fields.  Is Custom data just a new type of field that can then be added to a custom profile?  If I add a custom data and profile field, is there any way to treat contacts with a given option as a group for the purposes of mailings and other outreach?


Thanks,

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: bulk import select option fields
June 07, 2010, 04:20:17 pm

to go down the custom field route, i would do 3-10 schools and check what happens in the civicrm_option_value table

the remaining 490-497, you could do a direct mysql import using PHPMyAdmin or your favorite mysql tool

profiles are just views of standard data + custom data. they do not introduce new fields. might want to take a quick read of the book:

http://en.flossmanuals.net/CiviCRM

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

Clifford Meece

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: bulk import select option fields
June 07, 2010, 04:43:35 pm
Thanks for the reply.  Am I right to assume that the Custom Data route is appropriate for my use case, then?

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: bulk import select option fields
June 07, 2010, 09:54:58 pm

yes

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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • bulk import select option fields

This forum was archived on 2017-11-26.