Results 1 to 5 of 5

Thread: Account Name Field

  1. #1
    ffletch is offline Member
    Join Date
    Sep 2008
    Posts
    14

    Default Account Name Field

    I am using Version 5.1.0 (Build 4732). It appears that the default "name" field for accounts cannot be made to be required. Nor can its label be changed (I change it and the studio page shows that its updated but the end user page doesn't reflect the change). I tried to create a custom field called "Account Name" and that let me do everything I wanted. However my custom field does not show up as a link in a list view (and I don't see any way to make it a link). So here are my questions:

    1) Is there any way to make the default "name" field required and if so, how can I change the label such that it is reflected on the end user page?

    2) How can I make a custom field that shows up as a link to the account record itself in a list view?


    TIA for any ideas.

  2. #2
    ffletch is offline Member
    Join Date
    Sep 2008
    Posts
    14

    Default Re: Account Name Field

    <bump>

    The problem is still present in 5.1.0b (Build 4905). Anyone either seen this or have a solution to it?

  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: Account Name Field

    Hi ffletch

    You can add the code:
    PHP Code:
    'displayParams' => array(
      
    required 'true',
    ), 
    at the name field definition into custom/modules/<ModuleName>/metadata/editviewdefs.php

    Regards
    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
    ffletch is offline Member
    Join Date
    Sep 2008
    Posts
    14

    Default Re: Account Name Field

    Thanks! I'm playing with this to see how it works. Is this documented anywhere? If so, how / where? I am comfortable with PHP and don't mind changing it, I just need to know where to look and a document is a lot faster than trying to reverse engineer it.
    Last edited by ffletch; 2008-12-05 at 06:15 PM.

  5. #5
    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: Account Name Field

    There is the developer guide containing a lots of tips and clarification regarding the SugarCRM code/customization.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. filter the contacts by industry field by each account
    By osotron in forum General Discussion
    Replies: 1
    Last Post: 2012-02-07, 07:58 PM
  2. use custom field account to search contact in target list
    By Beranrdi in forum Developer Help
    Replies: 9
    Last Post: 2010-07-30, 04:12 AM
  3. Replies: 0
    Last Post: 2008-04-16, 06:27 AM
  4. Replies: 0
    Last Post: 2005-09-09, 10:33 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
  •