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) »
  • Copying a contact
Pages: [1]

Author Topic: Copying a contact  (Read 545 times)

trudi@tallyfox.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • TallyFox
  • CiviCRM version: 4.4.2, revision 5c1174d31b
  • CMS version: Drupal 6, updating to D7
  • MySQL version: 5.5.36- we're actually using MariaDB
  • PHP version: 5.3.3
Copying a contact
June 19, 2014, 03:13:37 am
Hi All, we have over 100,000 contacts on our CiviCRM. Now it is very important that we can enter many contacts for the same company, with the same relationships and tags and groups as other employees of this company. Any way to copy a contact? Same question for both individuals and custom contact types (in our case Conferences)
Trudi Schifter
Founder and Chairman

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Copying a contact
June 19, 2014, 08:35:39 am
Here are some options:
  • Enter your multiple contacts in a spreadsheet and import them. You can set the import to add them to the same group and create the relationship for all of them.
[liUse a batch-entry profile. Not sure if this supports the groups and relationships.][/li]
[li]My favorite option: set up a webform using this module for your staff to do their data entry. This allows you the flexibility to set up your form however you like and to have it automatically add whatever CiviCRM data you wish. You could, for instance, set up a form where the staff person chooses a company and then adds up to 50 individuals as members of it (if they have more than 50 to enter, they just submit the form and do it again with the next batch).[/li]
[/list]
Quote
with the same relationships and tags and groups as other employees of this company
Hmm, this raises a red flag for me that you may have duplicative data in your database. If every member of one company needs to have the same tag(s) then you are using tags incorrectly - your data is too fragile like this. The golden rule is: "never store the same (or similar) data in more than one place." So instead of needing to enter every contact with the same 3 tags, 2 groups, and 1 relationship, you need to set up your database so that the 1 relationship is all you need to enter, and everything else flows from that - set up smart groups so that they are automatically included by virtue of having that relationship. There are no smart tags but there's probably a better way to achieve the functionality you need without having to manually tag contacts.
Try asking your question on the new CiviCRM help site.

trudi@tallyfox.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • TallyFox
  • CiviCRM version: 4.4.2, revision 5c1174d31b
  • CMS version: Drupal 6, updating to D7
  • MySQL version: 5.5.36- we're actually using MariaDB
  • PHP version: 5.3.3
Re: Copying a contact
June 19, 2014, 11:39:43 am
Hi Coleman, thanks for the reply. We use smart groups and relationships. This still does not help to enter 50 people who all work for GE at the same address. It is tedious. Yes, I would manually add separate tags for some of them but to just copy the basics would save a huge amount of time. Most of our entries are not from XL sheet imports, although, of course for large entries we du this too.

I am lookign for an easy way to copy a contact, and then change what I want to change without starting always form scratch
Trudi Schifter
Founder and Chairman

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Copying a contact
June 19, 2014, 12:28:17 pm
If I were you I would look into the webform solution. You can set up a form where all these things happen automatically for many contacts at once, based on the chosen organization.
Try asking your question on the new CiviCRM help site.

trudi@tallyfox.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • TallyFox
  • CiviCRM version: 4.4.2, revision 5c1174d31b
  • CMS version: Drupal 6, updating to D7
  • MySQL version: 5.5.36- we're actually using MariaDB
  • PHP version: 5.3.3
Re: Copying a contact
June 20, 2014, 12:24:47 am
thanks. do you have to set this up for each company? then still a bit cumbersome, but would help, will look into it
Trudi Schifter
Founder and Chairman

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Copying a contact
June 20, 2014, 04:24:46 pm
the form can have a select or autocomplete for the company - and also an autocomplete for the individuals

but it sounds more like it would be worth looking at our work with civi entity and Views Bulk Operations.

I don't think it can currently do a 'make Person X use Org Y's address' - but if it could be made to do this then it could be a great tool for such tasks.

otherwise, if you are already have your contacts using Relationships and therefore say 'if Person X is employer (?) of Org Y, then give Person X the 'shared address' from Org Y' as a one off, then an sql query may be your friend ;-)

ie import your new contacts with a csv that has the Org name too so it makes the relationship - then run the query (assuming Import Wizard still can't cope with Shared Address)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

trudi@tallyfox.com

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • TallyFox
  • CiviCRM version: 4.4.2, revision 5c1174d31b
  • CMS version: Drupal 6, updating to D7
  • MySQL version: 5.5.36- we're actually using MariaDB
  • PHP version: 5.3.3
Re: Copying a contact
June 25, 2014, 08:43:58 am
thank you, we will try and let you know results
Trudi Schifter
Founder and Chairman

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Copying a contact

This forum was archived on 2017-11-26.