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 Profiles (Moderator: Dave Greenberg) »
  • Preserve custom data when switching contact type?
Pages: [1]

Author Topic: Preserve custom data when switching contact type?  (Read 378 times)

aaronchow

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 3
  • CiviCRM version: 3.3
  • CMS version: Joomla
  • MySQL version: 4
  • PHP version: 5
Preserve custom data when switching contact type?
June 24, 2014, 06:01:46 pm
Hi everyone,

I'm wondering if anyone can give me some input.

My NPO offers two type of memberships (Analyst members and Candidates).  Our members would begin with Candidates.  Once they finished the training program, they will be switched over to become an Analyst member.  Our training program lasts around 4+ years, and I'll need to collect some information throughout the years.  Originally I created the "Candidates" as an event / membership type, but I found out that I cannot have custom data-set with multiple records assigned to an event or a membership type.  As a result, I created a new contact type and created a custom data-set that allows multiple records.  My current workaround will fail when our member finishes their training program and switch over to the analyst members contact type.  It tells me that all of the previously entered information will be erased if I do that.

I don't mind to re-create and re-enter the information (as it isn't that much), but what best practice do you recommend me to follow?  Should I simply apply this custom data-set to "analyst members" contact type also (that seems the easiest, but my boss doesn't really like this idea)?  Any advice is appreciated!

- Aaron

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Preserve custom data when switching contact type?
July 22, 2014, 10:26:31 am
Hi aaron,

My advice is: attach the custom data to both contact subtypes.

Cheers,

JohnFF
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Preserve custom data when switching contact type?

This forum was archived on 2017-11-26.