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 Import (Moderator: Yashodha Chaku) »
  • civi "reverse sync"
Pages: [1]

Author Topic: civi "reverse sync"  (Read 1131 times)

Hardwick

  • I post frequently
  • ***
  • Posts: 124
  • Karma: 1
  • CiviCRM version: 4.0.5
civi "reverse sync"
September 20, 2010, 02:46:50 pm
would any one know of a way to sync previously migrated civi records to drupal user accounts, ie, automatically create those accounts once you;ve migrated the records into civi, sort of a reverse sync? Im aware of the syncing function and trying to go the other way.

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: civi "reverse sync"
September 20, 2010, 03:07:04 pm
User Import module has been used by us before.

if you want to create the User name in Drupal, export email, first and last.

concatenate first and last to first.last

Use User Import which will create the Drupal account and fire of a custom or default 'you have an account' msg.

HTH
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

Hardwick

  • I post frequently
  • ***
  • Posts: 124
  • Karma: 1
  • CiviCRM version: 4.0.5
Re: civi "reverse sync"
September 29, 2010, 01:10:14 pm
thanks, that sounds like it could work, so i'm clear : you're saying to export those fields (containing first, last, and email) from civi into a csv file than concatenate within that file, then re-import onto the drupal side using the import user module?

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: civi "reverse sync"
September 29, 2010, 01:19:21 pm
that is how we did it where we wanted first.last as the user name, yes
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

Hardwick

  • I post frequently
  • ***
  • Posts: 124
  • Karma: 1
  • CiviCRM version: 4.0.5
Re: civi "reverse sync"
September 29, 2010, 01:31:42 pm
we'll definitely try that...I wonder if that could work for any other type field we could initially export out of civi, in addition to first and last name, for example contact id if they have pre-existing member id numbers that we already have for the members in civi, I mean, you could probably concatenate on any given fields, right?

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: civi "reverse sync"
September 29, 2010, 02:01:44 pm
yes, if you want their old ID as part of the Drupal User name, especially if you have multiple records with same names
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

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: civi "reverse sync"
October 11, 2010, 07:10:00 am
But you should also take the fact that it isn't a built-in function as a warning. Creating a contact in CiviCRM is fundamentally different from creating a drupal user account in terms of authority/ownership and also functionality. In other words - are you sure all those contacts want a drupal account and are going to use it?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • civi "reverse sync"

This forum was archived on 2017-11-26.