Results 1 to 5 of 5

Thread: Problems understanding auto populate from popus in 5.0f

  1. #1
    flettera is offline Junior Member
    Join Date
    Jun 2008
    Posts
    4

    Default Problems understanding auto populate from popus in 5.0f

    Hello all,

    I'm a newbie, and I'm trying to understand how the auto populate works. We are trying to have the fax number, as well as some other information auto fill from the account when creating contacts. Any guidance on how this actually works would be greatly appreciated I've been searching thorough the forums and the wiki, and have not yet found any information to help me solve my problem.

    Thank you!

  2. #2
    heta's Avatar
    heta is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Ahmedabad,India
    Posts
    214

    Default Re: Problems understanding auto populate from popus in 5.0f

    hi flettera,

    you can add new fields in,

    custom/modules/contacts/editviewdefs.php

    check for the account name field,

    insert your new fields which u want to populate in additionalFields in displayParams.

    this will enable quick search.

    to have the values from popup, u need to change the file
    include/SugarFields/Fields/Relate/SugarFieldRelate.php (not upgrade safe.)

    search for $copy_phone & add new value for ur field:

    e.g.

    $popup_request_data['field_to_name_array']['phone_fax'] = 'phone_fax';

    do quick repair and rebuild.

    i hope it helps.
    Best Regards
    ---------------------------------------
    Heta Shah - iNET PROCESS
    heta.shah@inetprocess.com
    http://www.inetprocess.co.in
    Projects :
    iNETDocs -Project of the month(Dec-2008)
    iNETGoogleMap

  3. #3
    flettera is offline Junior Member
    Join Date
    Jun 2008
    Posts
    4

    Default Re: Problems understanding auto populate from popus in 5.0f

    Thanks Heta. I'll give it a try and let you know if it works.

    Frank

  4. #4
    flettera is offline Junior Member
    Join Date
    Jun 2008
    Posts
    4

    Smile Re: Problems understanding auto populate from popus in 5.0f

    Thanks for your help. That worked great! Any idea where i go to get the same result when adding a contact through the subpanel? It only seems to work in the full form.

    Thanks again!

  5. #5
    flettera is offline Junior Member
    Join Date
    Jun 2008
    Posts
    4

    Default Re: Problems understanding auto populate from popus in 5.0f

    Here's an oddity...

    I have also added the description field to auto populate. It also only works in the full form.

    The odd part is that it does NOT work when I select an account from the popup, but it DOES work when i just type a few letters and pick from the list!

    Nevermind - Fixed this by adding the field into popupdefs!

    Still looking for the 'quickcreate' files to modify to get these fields to copy from within a subpanel, though.
    Last edited by flettera; 2008-07-05 at 06:04 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto populate
    By Iggby in forum Help
    Replies: 5
    Last Post: 2012-02-07, 05:47 AM
  2. Auto Populate relate Field..
    By Mubi in forum Developer Help
    Replies: 4
    Last Post: 2008-07-21, 01:35 AM
  3. Auto populate address fields in 4.5
    By joshmark in forum Help
    Replies: 3
    Last Post: 2008-04-18, 11:01 AM
  4. Replies: 0
    Last Post: 2007-07-11, 11:18 AM
  5. Auto Calculate & Populate Fields
    By coowboy in forum Developer Help
    Replies: 2
    Last Post: 2006-06-26, 11:58 AM

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
  •