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) »
  • How to do a bulk creation of relationships?
Pages: [1]

Author Topic: How to do a bulk creation of relationships?  (Read 1593 times)

russmartin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal 7.2
  • MySQL version: 5.0.52
  • PHP version: 5.0.59
How to do a bulk creation of relationships?
September 03, 2011, 12:07:40 pm
Is it possible to do a bulk creation of relationships?

For example, if I do an advanced search, filter out a set of contacts, how do I create relationships for all of these contacts in one action?

i.e. If I select 5 contacts from my search, I want to create a relationship for each of them with the same person.

We are using CiviCRM to generate leads for our organization and I want to be able to create a relationship with one of our volunteers for each of the leads/contacts already in the system. I have the relationship setup, I just don't know how to do the relationship assignment in bulk without having to do it one at a time.

We'll have about 30,000 leads and 400 volunteers following them up, so creating the relationships one by one is out of the question. I need our team leaders to be able to do the assignment in about batches of 10 at a time.

Any help is appreciated,

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: How to do a bulk creation of relationships?
September 03, 2011, 07:25:20 pm

Currently no.

but this is a great feature to add to CiviCRM :) Creating a bulk action for this from the contact search screen should not be too hard. The developer-guide should help u get started:

http://en.flossmanuals.net/civicrm-developer-guide/

If you do get this written please contribute your code back so others can benefit

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

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: How to do a bulk creation of relationships?
November 08, 2011, 07:35:15 pm
This is sort of possible by doing the following:
  • Go to the target contact's page, and click "add relationship"
  • Type the last name of each contact, separated by a space
  • Click search
  • Check the box by all the correct matches, sifting through the false-positives
  • Click save to bulk-add the relationship

And I agree, the ability to do this from the search/actions page would be brilliant.
Try asking your question on the new CiviCRM help site.

russmartin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal 7.2
  • MySQL version: 5.0.52
  • PHP version: 5.0.59
Re: How to do a bulk creation of relationships?
November 09, 2011, 06:45:28 am
We ended up having this programmed by our vendor. I will see about making sure it gets added back to the community.

LeftSpace

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: How to do a bulk creation of relationships?
March 13, 2012, 07:11:37 pm
Did you ever get this to the Civi programmers? - we use civi on Joomla 2.5

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: How to do a bulk creation of relationships?
March 16, 2012, 03:08:38 pm
Yes, please share :)
Try asking your question on the new CiviCRM help site.

russmartin

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.2
  • CMS version: Drupal 7.2
  • MySQL version: 5.0.52
  • PHP version: 5.0.59
Re: How to do a bulk creation of relationships?
March 17, 2012, 07:13:17 pm
I spoke with http://www.datascribe.biz, the vendor, this week and they said they will work to make sure this gets contributed to the project.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • How to do a bulk creation of relationships?

This forum was archived on 2017-11-26.