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) »
  • Export field length truncated from 1020 to 255 characters
Pages: [1]

Author Topic: Export field length truncated from 1020 to 255 characters  (Read 1346 times)

mjpforsberg

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.40
Export field length truncated from 1020 to 255 characters
January 19, 2013, 03:53:05 pm
Hi,

I am dealing with a database where some multiple-choice custom fields have some seriously long field values, resulting in that the maximum field length has been set to 1020.

This seems to be fine inside CiviCRM, and no data is lost. However, when I now tried to export the data to edit in and reimport with a bit more reasonable field values, it seems like CiviCRM truncates the data to 255 characters, leading to lost data on export. Am I missing some obvious setting, or is this an issue?

There seems to have been a related issue earlier:
http://forum.civicrm.org/index.php?topic=15153.0

mjpforsberg

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.40
Re: Export field length truncated from 1020 to 255 characters
January 19, 2013, 05:13:11 pm
Problem solved for my part - I did not realize that CiviCRM exports the labels rather than the values. I shortened the labels so that all together was less than 255 characters and could export them without any problems in that way.

However, I must say that I find this behaviour somewhat counterintuitive...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Export field length truncated from 1020 to 255 characters

This forum was archived on 2017-11-26.