Results 1 to 5 of 5

Thread: Add email field to 'Accounts' List View

  1. #1
    Engyn IT is offline Member
    Join Date
    Feb 2010
    Posts
    13

    Default Add email field to 'Accounts' List View

    does anyone know how i can add the primary Account email to the list view of Accounts?...

    I would like to be able to see what Businesses have emails on each account

  2. #2
    smoothumut is offline Senior Member
    Join Date
    Apr 2010
    Location
    Turkey
    Posts
    25

    Default Re: Add email field to 'Accounts' List View

    I have almost the same problem. i want to put email field on accounts subpanel under the case module. I have found solutions for many complex problems in here but not for this one that look simple.. what i try to do is; in cases module, when a case is imported from an email, the case should see the related account under the accounts subpanel of Cases. (in accounts module, the account shows the related case, but in case module, case doesnt show the related accounts)
    Can i do that and how can i do that
    please Help???

    Regards
    Last edited by smoothumut; 2010-05-19 at 08:02 AM.

  3. #3
    smoothumut is offline Senior Member
    Join Date
    Apr 2010
    Location
    Turkey
    Posts
    25

    Default Re: Add email field to 'Accounts' List View

    Quote Originally Posted by Engyn IT View Post
    does anyone know how i can add the primary Account email to the list view of Accounts?...

    I would like to be able to see what Businesses have emails on each account
    hi,

    you can use this tread to find a solution for your problem,
    http://www.sugarcrm.com/forums/showt...063#post215063

    Regards

  4. #4
    pkarjala is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    29

    Default Re: Add email field to 'Accounts' List View

    Quote Originally Posted by smoothumut View Post
    hi,

    you can use this tread to find a solution for your problem,
    http://www.sugarcrm.com/forums/showt...063#post215063

    Regards
    I think this does not answer to the original question... I have same issue and can not figure out how I can use this information in this current case: add accpunt's email in acount's list view
    -PK
    Sugar version: 5.2.0a
    Linux web 2.6.26-2-amd64
    Apache 2.2.9
    PHP Version 5.2.6-1+lenny4
    MySQL Version: 5.0.51a

  5. #5
    salvinitin24 is offline Junior Member
    Join Date
    Nov 2010
    Posts
    5

    Default Re: Add email field to 'Accounts' List View

    I assume you are using 5.2.

    Here is what I did to include Primary email of account in the List view.

    Step 1: Update get_list_view_data() function in modules\Accounts\Account.php

    Put following line of code before Return statement.

    PHP Code:
    $temp_array["EMAIL1"] = $this->emailAddress->getPrimaryAddress($this); 
    Step 2: Update Listviewdefs.php in custom\modules\Accounts\metadata\listviewdefs.php

    Add following code before 'ASSIGNED_USER_NAME' entry.

    PHP Code:
    'EMAIL1' => 
      array (
        
    'width' => '15%',
        
    'label' => 'LBL_EMAIL',
        
    'sortable' => false,
        
    'link' => true,
        
    'default' => true,
      ), 

    I hope this will help you.

    Thanks,
    Nitin

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-08-25, 07:39 PM
  2. Email field in accounts list view
    By Monkeyman in forum Developer Help
    Replies: 4
    Last Post: 2009-06-05, 11:47 PM
  3. Replies: 0
    Last Post: 2009-04-16, 03:34 PM
  4. List View display of email opt-out field
    By redbourne in forum Help
    Replies: 2
    Last Post: 2009-03-31, 04:09 PM
  5. Replies: 11
    Last Post: 2005-12-28, 09:32 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
  •