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) »
  • Add contacts to Group CSV
Pages: [1]

Author Topic: Add contacts to Group CSV  (Read 1326 times)

Rens

  • Guest
Add contacts to Group CSV
July 08, 2008, 05:20:39 am
Hi all,

I want to add larg number of contact to a group, the contacts are already in civicrm. I have a CSV file with the email addresses of the contacts that need to be added to the group.

With the import function you can only assisign new contacts to a group, not existing contacts.

Is there any way to do this, or do i have to make a scripts to add this right into the db?

all help is welkom

regards Rens

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Add contacts to Group CSV
July 08, 2008, 05:47:55 am
Rens,

Since your contacts are already in CiviCRM , it's enough to find them using search and use "Add contacts to group" from pull down menu above search results. Does this help?

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Rens

  • Guest
Re: Add contacts to Group CSV
July 08, 2008, 06:20:11 am
Hi Michał Mach ,
Yes this would be a way to do it. but i have to add 1300 contacts to a group, and i don't have one search field thats unique for this group. so i would have to search on each email address and this would take to much time.

I would need some search option on csv.

Thx for replay anyway

 

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Add contacts to Group CSV
July 08, 2008, 06:53:12 am
Hey,

Could you try following scenario:

1. Create new custom field extending your contacts
2. Add a column in your CSV file and fill it with value that can be imported into custom field added in pt. 1
3. Import your CSV in update mode
4. Search for all the contacts matching the value that you just imported and add them to the group.

Thx,
m

Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

Rens

  • Guest
Re: Add contacts to Group CSV
July 08, 2008, 07:35:39 am
hi Michał Mach,

I mist the Import update mode, by default its on skip, but if i put it to update en just import this file in the email field under update.
there is an option to add to group in import section.

Thx a lot Michal.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Add contacts to Group CSV

This forum was archived on 2017-11-26.