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) »
  • Is there a way to add multiple relationships to one individual at once?
Pages: [1]

Author Topic: Is there a way to add multiple relationships to one individual at once?  (Read 436 times)

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Is there a way to add multiple relationships to one individual at once?
September 18, 2012, 07:57:59 am
I have a "Primary Co-Worker" / "Co-Worker of Primary" relationship defined.  In a lot of cases, I need to add 50 to 100 co-worker relationships to the Primary co-worker.   Is there a way to add these relationships all at once?   Right now the only way I have been able to do this is one by one - very time consuming.

Thanks,
Craig

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Is there a way to add multiple relationships to one individual at once?
September 18, 2012, 08:26:46 am
tso2085 :

3 steps to do that would be :
# export all the contacts that are co-workers
 
# map them to the primary contact in CSV

# import the relationships all at once.

-Yashodha
« Last Edit: September 18, 2012, 08:29:06 am by Yashodha Chaku »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: Is there a way to add multiple relationships to one individual at once?
September 18, 2012, 10:04:12 am
Hello,

Can you explain step 2 a little further?  "Map them to the primary contact in CSV"  - how do you mean?

Thank you!
Craig

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Is there a way to add multiple relationships to one individual at once?
September 18, 2012, 10:33:57 am
In the exported CSV, add another column for id of the primary contact (Internal contact ID perhaps).

Import this file with the relationship and  map this field to  relationship "Co-Worker of Primary" internal contact ID.

You might wanna try it on our demo http://demo.civicrm.org/

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Is there a way to add multiple relationships to one individual at once?

This forum was archived on 2017-11-26.