Results 1 to 4 of 4

Thread: Account Name relate field missing in Contact EditView

  1. #1
    darcy.rippon is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    121

    Unhappy Account Name relate field missing in Contact EditView

    RedHate Linux Enterprise 5
    Sugar 5.0.0c
    Apache 2.2.3
    mysql 5.0.22

    I was making changes to the editview of Contacts in the studio. I was trying to move the Account Name to the available list and off the display, and it ended up getting deleted and saved and deployed before I caught what happened.

    I need to know how to get it back. The data is still there because I can see it in the Detail View of the Contact, but just not when I click edit.

    account_name is in my editviewdefs.php file in an array as follows:

    array('name'=>'account_name', 'displayParams'=>array('key'=>'billing', 'copy'=>'primary', 'billingKey'=>'primary', 'additionalFields'=>array('phone_office'=>'phone_w ork'))),
    'phone_home',
    ),

    If anyone can help me bring that field back in my EditView, I'd really appreciate it.

  2. #2
    darcy.rippon is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    121

    Default Re: Account Name relate field missing in Contact EditView

    I FIXED IT!! All by myself. A newbie... I fixed it!

    so in the file <sugarcrm>/custom/modules/Contacts/metadata/editviewdefs.php
    I added the array:
    array (
    'name' => 'account_name',
    'lablel' => 'LBL_ACCOUNT_NAME',
    'tabindex' => '3',
    ),
    Since all my other def files seemed to have the contact and account relationship in tact, I figured there must be some place that I specified that this field no longer be shown in the edit view of contacts.

    It took lots of digging... but at least I have a better grasp on EXACTLY how Sugar is built.

    And I'm so friggin' proud of myself, as easy as the fix was.

  3. #3
    pgingao is offline Junior Member
    Join Date
    Oct 2007
    Location
    London
    Posts
    3

    Default Re: Account Name relate field missing in Contact EditView

    Hello,

    I have the same problem but with the editview of LEADS in the studio. I canīt find a way to correct this and my PHP skills are really weak! Can any one help me with this?

    Thank you

    Paulo


    Quote Originally Posted by darcy.rippon
    RedHate Linux Enterprise 5
    Sugar 5.0.0c
    Apache 2.2.3
    mysql 5.0.22

    I was making changes to the editview of Contacts in the studio. I was trying to move the Account Name to the available list and off the display, and it ended up getting deleted and saved and deployed before I caught what happened.

    I need to know how to get it back. The data is still there because I can see it in the Detail View of the Contact, but just not when I click edit.

    account_name is in my editviewdefs.php file in an array as follows:

    array('name'=>'account_name', 'displayParams'=>array('key'=>'billing', 'copy'=>'primary', 'billingKey'=>'primary', 'additionalFields'=>array('phone_office'=>'phone_w ork'))),
    'phone_home',
    ),

    If anyone can help me bring that field back in my EditView, I'd really appreciate it.

  4. #4
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Account Name relate field missing in Contact EditView

    Quote Originally Posted by pgingao
    Hello,

    I have the same problem but with the editview of LEADS in the studio. I canīt find a way to correct this and my PHP skills are really weak! Can any one help me with this?

    Thank you

    Paulo
    Hi,
    what's exactly your problem?
    Have you lost a default field in your Leads' editview?
    You can try to restore it through Admin->Repair->Clear Template Data Cache and Rebuild Relationships.
    It should work.
    What do you think the cookie monster eats ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Contact and Account address
    By People3 in forum Help
    Replies: 6
    Last Post: 2008-11-26, 06:39 PM
  2. Replies: 0
    Last Post: 2008-04-16, 06:27 AM
  3. Replies: 1
    Last Post: 2008-03-28, 10:37 PM
  4. Contact Name Missing for Contact List View
    By carrier1 in forum Help
    Replies: 0
    Last Post: 2008-03-12, 02:50 AM
  5. Associating Bug Contact with Account
    By Softwise in forum Help
    Replies: 3
    Last Post: 2007-10-15, 03:41 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
  •