Results 1 to 2 of 2

Thread: Displaying email under the Member Organizations account subpanel

  1. #1
    baylis is offline Junior Member
    Join Date
    Mar 2010
    Posts
    3

    Question Displaying email under the Member Organizations account subpanel

    Hello all,

    This is my first post here on the SugarCRM forums and I'm a new user to SugarCRM CE. We've just recently installed the latest version. I'm currently trying to customize the Member Organization Subpanel for the Accounts module and I'm unable to display the "Email" field (it's not in the hidden category for me to make visible.)

    I think it's because there is no email field listed under the Account Fields in Studio, however when creating an account it does have an option to add an email address for that account.

    Any ideas/workarounds?

    Kind regards,

    Todd

  2. #2
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Displaying email under the Member Organizations account subpanel

    Welcome Todd,

    I hadn't realized that 5.5 added the ability to configure subpanels through Studio! In 5.2.0 you could not do that. Thanks for pointing that out to me!

    Anyway, now that I checked that out, it appears that only the fields defined within the Accounts module itself are available to put on the subpanel through Studio, which means you'll have to code it the hard way. Email addresses are managed in their own module and related to Accounts and Contacts, so you'll have to add a link field.

    The Contacts subpanel shows the email address on the Accounts Detail View, so you can look at that as an example. If you can read and write php code, see the file <sugarroot>/modules/Contacts/metadata/subpanels/ForAccounts.php. It contains a section for email1 that defines the entry you need.

    Since I just learned of the new studio feature, I don't know exactly where studio saves the subpanel files, but it should be somewhere under <sugarroot>/custom possibly under metadata or under Extensions. I don't have time to poke around right now. But you can save your new subpanel through studio, find it under <sugarroot>/custom and add a section like in the ForAccounts.php and it will show it.

    Good luck.

    Phil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2010-10-13, 11:44 AM
  2. Member Organizations Subpanel
    By Chopwood in forum Help
    Replies: 3
    Last Post: 2009-09-17, 10:57 PM
  3. Replies: 0
    Last Post: 2006-08-01, 06:03 PM
  4. Showing Member Organizations of Account
    By Lennu in forum General Discussion
    Replies: 0
    Last Post: 2006-03-27, 12:31 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
  •