Results 1 to 4 of 4

Thread: How To Export Custom Fields Into CSV File?

  1. #1
    strzyze8 is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Question How To Export Custom Fields Into CSV File?

    When exporting the contacts from my SugarCRM into contatcts.csv, many of the data fields are missing. I created quite a few additional fields in Contacts > Layouts > EditView / DetailView. Could you please let me know how I can export the additional fields that I created into the csv file. Thanks.

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

    Default Re: How To Export Custom Fields Into CSV File?

    In each class module e.g. modules/Contacts/Contap.php you can write a function create_export_query to generate a query for the export.
    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
    sknlkl is offline Junior Member
    Join Date
    Oct 2010
    Posts
    1

    Default Re: How To Export Custom Fields Into CSV File?

    Mi ricordo di molto tempo fa in tiffanys
    cui un amico mi aveva dato l’imbeccata di tiffany comprare un gioco chiamato Halo. Al tempo giocavo praticamente tutto senza molto interesse, giusto per far numero nella mia personale collezioni di titoli f tiffany jewelry initi. Quel gioco li però, quello programmato dai Bungie, rimarrà nel mio

  4. #4
    strzyze8 is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Default Re: How To Export Custom Fields Into CSV File?

    Quote Originally Posted by kuske View Post
    In each class module e.g. modules/Contacts/Contap.php you can write a function create_export_query to generate a query for the export.
    Thanks kuske. Is there an easy query for exporting all contact fields?

    PHP Code:
    function create_export_query(&$order_by, &$where$relate_link_join='')
    {

    return 
    "SELECT * FROM contacts_cstm";


    Last edited by strzyze8; 2010-10-15 at 07:16 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Export as CSV including custom fields?
    By madmat in forum Help
    Replies: 1
    Last Post: 2010-07-22, 01:44 PM
  2. Export custom panels,dropdowns,fields
    By ishaan in forum Developer Help
    Replies: 1
    Last Post: 2009-05-15, 02:20 PM
  3. Replies: 3
    Last Post: 2008-12-03, 10:16 PM
  4. Replies: 2
    Last Post: 2005-04-08, 01:15 AM

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
  •