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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Move Custom Field?
Pages: [1]

Author Topic: Move Custom Field?  (Read 461 times)

jbertolacci

  • I post occasionally
  • **
  • Posts: 54
  • Karma: 1
Move Custom Field?
May 25, 2011, 12:51:48 pm
Just posting a question/answer from IRC so it can be found here in the forum as well...

I am looking for a way to move a custom field from one group to another, but I can't find a way to do so in the civicrm interface. I did find the class CRM_Custom_Form_MoveField in CRM/Custom/Form/MoveField.php. From conversations on IRC is looks like this functionality is a work in progress as of 3.4/4.0, but might appear in future versions.

The alternate is to move the field directly in MySQL by modifying custom_group_id in the civicrm_custom_field table for the row/Custom Field you would like to move, creating the database fields in the structure of civicrm_custom_value_xxx table and then actually migrating the data from one custom_value table to the other.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Move Custom Field?

This forum was archived on 2017-11-26.