Results 1 to 5 of 5

Thread: Please help Add phone number to activity list view

  1. #1
    pmisner is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    29

    Lightbulb Please help Add phone number to activity list view

    Hi,
    I'd like some help adding a phone number from the contact on the activity list view. Ultimately, I want to have all the calls, contacts names, and people who I want to call in a nice list. I tried to do this with the module editor, but couldn't figure how to get a field from another database table into the list.
    Paul Misner
    Evangelist and Salesperson
    www.smartchive.com
    vpndude@vpndude.com
    877-876-3833
    f::443-283-8424
    6641 Windsor Court
    Columbia, MD 21044

  2. #2
    Join Date
    Sep 2008
    Posts
    10

    Default Re: Please help Add phone number to activity list view

    Hi,
    I'm looking into doing the same thing, did you succeed in adding phone fields to the view?
    Best, Mikel Kindborg

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Please help Add phone number to activity list view

    Hi all

    You need to perform the following steps:

    1. Add the field definition for the fields coming from related modules (contact phone number etc) into vardefs. You need to add the attribute 'source' => 'non-db',
    2. Create a logic_hook process_record to fill into this fields the appropriate value.

    There are threads discussing how to do that.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    Join Date
    Sep 2008
    Posts
    10

    Default Re: Please help Add phone number to activity list view

    Many thanks indeed. I will look into these steps. I get the idea of having a hook to pull data from the other table.

  5. #5
    Join Date
    Sep 2008
    Posts
    10

    Default Re: Please help Add phone number to activity list view

    Hi all.

    I have now written extension code that use the process_record hook to display phone numbers in custom fields in the Contact list. I also wrote an article that describes how to do this. It can be found here: http://www.msc.se/teknikhornan/artik...-sugarcrm.html

    Please let me know if you have any ideas for improvements, I'm new to SugarCRM, so I might have misunderstood some of the aspects involved. However, since I found little documentation in this area, I decided to write an article about it.

    Many thanks and best regards, Micke

Thread Information

Users Browsing this Thread

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

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
  •