Results 1 to 4 of 4

Thread: Changing fields in Exports

  1. #1
    benitap is offline Member
    Join Date
    Nov 2008
    Posts
    8

    Default Changing fields in Exports

    Hi All

    I'm using Sugar 4.5.1 - Free Version.

    I need to change the fields that the export sends to the CSV..
    On the Activities Tab, the export lists the parent_id but as the CSV is being used as a report, the id doesn't mean anything.

    Is there anyway or a setting that can be changed so that the name field from the accounts table can be exported instead?


    Thanks

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Changing fields in Exports

    When you export from a Sugar Module you're exporting from the tables for that module

    If you want to go cross-module, you'll have to use something like Zucker and write a specific SQL query to get the data that you need.

  3. #3
    benitap is offline Member
    Join Date
    Nov 2008
    Posts
    8

    Default Re: Changing fields in Exports

    Forgive me for being naive and/or dumb but the view under the Activities tab shows the account name so I'm unsure of why the export can't do the same.

    Please could you advise where the new query will need to be entered into the code?
    I fear I am completely out of my depth.

  4. #4
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Changing fields in Exports

    I fear you may be out of your depth.

    Data in databases is held in tables. In SugarCRM there are some 100+ tables. Each table holds specific information. Accounts data is held in the "accounts" table. Contacts data is held in the "contacts" table. Tables can be related to each other in a variety of ways. Hence the term relational database.

    When SugarCRM shows the Accounts name in the Contacts module, it is "joining" the two tables using a SQL query and displaying all the Contacts information held in the Contacts database table AND the Account Name from the Account table.

    However, the good news is twofold:

    1. It's a very simple query that you need. Get hold of a developer to do it for you.
    2. If you're running 4.5.1, you've obviously been doing this for some time ... successfully ... well done!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Search fields not changing
    By mdbusse in forum Help
    Replies: 7
    Last Post: 2009-07-10, 09:39 AM
  2. Changing fields in Sugar
    By jaolick in forum Developer Help
    Replies: 4
    Last Post: 2009-06-18, 03:42 PM
  3. Replies: 0
    Last Post: 2008-12-04, 12:02 PM
  4. changing fields in dashboard tab
    By WilliamC in forum Help
    Replies: 0
    Last Post: 2005-06-17, 10:40 PM
  5. Problem Changing Fields
    By Shell in forum Help
    Replies: 4
    Last Post: 2005-01-30, 08:20 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
  •