Results 1 to 6 of 6

Thread: Contacts export fields not containing correct data

  1. #1
    Join Date
    Mar 2007
    Posts
    2

    Default Contacts export fields not containing correct data

    Hi,

    I have a problem with my 5.5 installation, though this has been with me for a few revisions, I think ever since I installed ZuckerReports, then removed it again afterwards.

    When I do an export of Contacts, and examine the data, some of the header columns, from about column AQ onwards (in Excel terms), are getting misaligned. There is a repeat of field "email1" there, and the other fields have then been moved to the right.

    Once exported to a .csv file, importing applications like Word report that there aren't enough delimiters for each record - which kind of makes sense.

    Question is, how can I rename/move these fields back to the way they were, so that my exports work again?

    Thanks,
    Mike.

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Contacts export fields not containing correct data

    Please check your exported data fields.
    If there are fields with quotes (") you will get some problems.

    Check the export delimiter, it should be the same excel uses for csv-files.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    Join Date
    Mar 2007
    Posts
    2

    Default Re: Contacts export fields not containing correct data

    Hi Harald:

    Thanks for replying. I think the export fields got broken when I installed, then uninstalled ZuckerReports.

    Export field delimiter is ",", and record delimiter is <cr>.

    The issue is not to do with the way Excel translates the data, but with the way Sugar exports it. Is there a place in Sugar where I can control which fields are exported?

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Contacts export fields not containing correct data

    Just look to /include/export_utils.php

    There you can set some logging statements to check the export process.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  5. #5
    Secret_Agent_99's Avatar
    Secret_Agent_99 is offline Senior Member
    Join Date
    Jan 2010
    Location
    Island of Unknown Orgin
    Posts
    27

    Question Re: Contacts export fields not containing correct data

    Hi,

    How would you modify the file /include/export_utils.php to display only the field display labels on the actual backend names? As well, how can you make it so only certain fields are only export in a custom module?

    Thanks
    Agent 99
    Secret Service

  6. #6
    Secret_Agent_99's Avatar
    Secret_Agent_99 is offline Senior Member
    Join Date
    Jan 2010
    Location
    Island of Unknown Orgin
    Posts
    27

    Question Re: Contacts export fields not containing correct data

    Anyone know how to do this????


    I need this report format working for the HRIS

    Thanks
    Agent 99
    Secret Service

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar won't write data into custom contacts fields!
    By jribeiro in forum Developer Help
    Replies: 9
    Last Post: 2010-08-12, 08:37 PM
  2. Replies: 0
    Last Post: 2009-09-17, 12:40 PM
  3. Export not exporting correct data
    By southwestcrm in forum Help
    Replies: 15
    Last Post: 2008-10-02, 09:01 AM
  4. Replies: 1
    Last Post: 2008-09-26, 04:22 AM
  5. Replies: 0
    Last Post: 2007-09-11, 05:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •