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 CiviMember (Moderator: Deepak Srivastava) »
  • how to automatically create a new member ID when you create a member?
Pages: [1]

Author Topic: how to automatically create a new member ID when you create a member?  (Read 1457 times)

webguy2

  • Guest
how to automatically create a new member ID when you create a member?
October 14, 2008, 12:31:46 pm
I am importing members into Civi, each with a different, pre-existing, member ID.  I would like Civi to create a new member ID number in that field upon new member creation going forward.

How would I do that?  Is that the correct way to be thinking about this?  I think it is because I'll be importing CiviContribute Data as well related to each member.

Many thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: how to automatically create a new member ID when you create a member?
October 14, 2008, 07:13:23 pm
Not sure I understand your req's completely but ...

For importing existing contacts ("members") - you could import the "legacy" membership ID into the External Identifier field. This field will be your "key" to match to the contact records when you import contributions from them (assuming you can include this value in the contribution data to be imported).

Not sure if you need this value going forward - as new contacts / members will have a unique contact ID assigned by CiviCRM. However, you certainly can input an  External ID for each new contact - and CiviCRM will insist that it is a unique value.
Protect your investment in CiviCRM by  becoming a Member!

webguy2

  • Guest
Re: how to automatically create a new member ID when you create a member?
October 15, 2008, 05:17:17 am
Dave:

Thanks.  Will the unique ID assigned by CiviCRM be visible to the admin?  How many characters will it be (not a 32 char md5() hash, right)?

Thanks again for your help.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: how to automatically create a new member ID when you create a member?
October 15, 2008, 12:54:24 pm
CiviCRM assigns a unique integer. It's visible on the Contact Summary (at the bottom right) - "Contact ID: 235"
Protect your investment in CiviCRM by  becoming a Member!

webguy2

  • Guest
Re: how to automatically create a new member ID when you create a member?
October 15, 2008, 01:21:22 pm
terrific - thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • how to automatically create a new member ID when you create a member?

This forum was archived on 2017-11-26.