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) »
  • Move CiviCRM profile field
Pages: [1]

Author Topic: Move CiviCRM profile field  (Read 1316 times)

Rens

  • Guest
Move CiviCRM profile field
July 07, 2008, 07:50:25 am
Hi all,

I am having the following problem:

i have registration form with 3 CiviCRM Profile sections with each multiple custom fields.
now i want to add 1 more CiviCRM Profile section and move some of the custom fields from the existing sections to the new one. How can i do this without losing the data.

example:
CiviCRM Profile 1: Personal info
 - name
 - last name
 - some multiple choise field

Now i want to make it

CiviCRM Profile 1: Personal info
 - name
 - last name

CiviCRM Profile 2: Extra Info
 - some multiple choise field

One solution would be to export all data, remove it, and then import it again. But i don't like this becouse the data is in German, so there are a lot of funny charaters that give problems with csv. Also there is a lot of data/contacts so this will take a lot of time.

Is there any way to do this other then the solution above? ???
All help is appreciated!

Regards Rens

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Move CiviCRM profile field
July 07, 2008, 08:32:12 am
Hi Rens,

If you are only changing fields on your profiles, then no 'data' will be lost. The data would be lost only if you decided to delete the CUSTOM fields themselves. If you are not actually deleting your custom fields, but just adding/removing them from existing profiles, then there is no issue.

Profiles are essentially forms that people can fill out where you customize the order of the fields on the form. They don't actually hold the final data.

Custom Data is extra, add-on fields where you can gather new information that doesn't fit into a pre-existing CiviCRM field. These new fields exist in the database and then hold your data.

So in your example, I am assuming that 'some multiple choice field' is referring to a custom data set that you created in Administer CiviCRM > Custom Data. Then your CiviCRM Profile file you created in Administer CiviCRM > CiviCRM Profile and you added to your profile 'name' (do you mean first name by the way?) and 'last name' and your custom data field 'some multiple choice field'.

Now you want to create a new profile called 'Extra info' that just uses the field 'some multiple choice field' and then remove the field  'some multiple choice field' from your CiviCRM Profile called 'Personal Info'. This is fine; no data will be lost. You would only loose data if you went to Custom Data and tried to delete the 'some multiple choice field' (so don't do that!).

In other words, you should be all set.

It's kind of confusing, yes. If you need more info, you can read in detail about profiles here: http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=9295

and Custom Data groups here: http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=9307

Rens

  • Guest
Re: Move CiviCRM profile field
July 08, 2008, 05:08:40 am
Thx for replay emilyf,

so i found out, i little while later. But thx anyway!!


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

This forum was archived on 2017-11-26.