Results 1 to 7 of 7

Thread: Changing the order of export fields in CSV

  1. #1
    raja_netha is offline Junior Member
    Join Date
    Nov 2011
    Location
    INDIA
    Posts
    8

    Default Changing the order of export fields in CSV

    HI,

    I want to change the order of export fields in CSV which we download.
    I gone through the contacts.php and export_utils.php files but I cannot get into what i have want.

    Suggestions please....

    Thanks......

  2. #2
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Changing the order of export fields in CSV

    You can use our KINAMU Reporter. The basic edition is free and allows you to select fields flexibly, rearrange them as you like and export them to csv.

    christian.

    Quote Originally Posted by raja_netha View Post
    HI,

    I want to change the order of export fields in CSV which we download.
    I gone through the contacts.php and export_utils.php files but I cannot get into what i have want.

    Suggestions please....

    Thanks......

  3. #3
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: Changing the order of export fields in CSV

    you need to override create_export_query from the contacts or any other module and select fields in the order you desire. Rest should be working out of box.
    CRM Software Engineer
    Eontek - www.eontek.rs

  4. #4
    raja_netha is offline Junior Member
    Join Date
    Nov 2011
    Location
    INDIA
    Posts
    8

    Default Re: Changing the order of export fields in CSV

    Thanks for the reply...

    I have done changes in create_export_query in contacts module...but there is no change in the order of fields in export file. If I give at-least five fields to export...it is not coming in the order which I give...

    So hows this thing possible.....suggest me....

    Thanks......

  5. #5
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Changing the order of export fields in CSV

    create_export_query is defined in modules/<modulename>/<module>.php, e.g. modules/Contacts/Contact.php
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  6. #6
    megaduu is offline Banned
    Join Date
    Nov 2011
    Posts
    4

    Default Re: Changing the order of export fields in CSV

    very right

  7. #7
    raja_netha is offline Junior Member
    Join Date
    Nov 2011
    Location
    INDIA
    Posts
    8

    Default Re: Changing the order of export fields in CSV

    Thanks for the reply...

    I have done changes in the same file which I need in the contacts...but there is no change in the export file fields order.....

    If I have given any random fields to export, It is giving the order of its own....

    Please any one place the code of contact.php which the export fields order will be the same as we give.

    Suggestions please.......

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2012-04-24, 04:59 PM
  2. Changing the order of export fields in CSV
    By raja_netha in forum Help
    Replies: 1
    Last Post: 2011-11-15, 01:46 AM
  3. Changing navigation modules tabs sort order
    By marktaylor5151 in forum Developer Help
    Replies: 0
    Last Post: 2009-04-14, 06:42 AM
  4. Tab Order Not Changing
    By andymac in forum Developer Help
    Replies: 6
    Last Post: 2008-07-18, 09:55 AM
  5. Changing the tab order
    By JohnnyB in forum Help
    Replies: 1
    Last Post: 2007-05-22, 08:42 PM

Tags for this Thread

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
  •