Related fields are missing while exporting via listview for custom module

Hi,

I have created a custom module Called Department and added One to Many relationship with Accounts. Im unable to view Account column in cvs file after exporting via Department listview. Any one can please suggest the solution?

Thanks,

Lavanya

Parents Reply
  • OK so when the list view export only gives you the ID and you won't like to use reports to pull it from the accounts record you can use this option:

    Create a textfield like I did it on the cases module on this screenshot. tick the "Calculated Value" checkbox and place the same formula on the editor and save.(how to: http://support.sugarcrm.com/Knowledge_Base/Studio_and_Module_Builder/Sugar_Logic/Sugar_Logic_Walkthrough_Related_Module_Formulas/ )

    This field pulles the value from the accounts name field into the text field in your Department module. On creating a  it will filled up automatically. On existing records you must perform any way of update / edit on each record to let this field be recalculated. Usually you can do this via listview but it depends on the amount of department records like in standart module Opportunities:

    Once you have the Account name pulled into your custom field it will be included in the list view export as a raw text.

    PS.: Sorry for answearing that late. I just forgot about this thread meanwhile.

    Cheers

    Björn Canales Pfisterer

    Technical Support Manager

    provalida GmbH

Children
No Data