Results 1 to 3 of 3

Thread: Custom code is not called in subpanel view..

  1. #1
    atik is offline Senior Member
    Join Date
    Feb 2009
    Posts
    25

    Question Custom code is not called in subpanel view..

    Hi all, i m using sugarcrm 5.1 orc..

    i m new in this..

    I develop one custom field like this:
    my field name is : last_ordered_c
    code is :
    Name:  Untitled-1.jpg
Views: 221
Size:  103.7 KB
    and i called this code in subpanel definition like this:
    'last_ordered_c'=>array(
    'vname' => 'LBL_LAST_ORDERED',
    'width' => '15%',
    'fill_in_additional_fields' => true,
    ),

    by this i can add this new custom code in the subpanel but i m not getting any data. it show me blank row so any one help me where i m missing something ???


    Name:  Untitled-2.jpg
Views: 213
Size:  11.6 KB
    thanks in advanced
    Last edited by atik; 2009-03-12 at 08:35 AM.

  2. #2
    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: Custom code is not called in subpanel view..

    Hi atik

    customCode does not work for Subpanel, use logic_hook process_record instead.

    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.

  3. #3
    atik is offline Senior Member
    Join Date
    Feb 2009
    Posts
    25

    Question Re: Custom code is not called in subpanel view..

    thanks for reply..

    i m new in sugar so please give me example how to add this field in subpanel..

    thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add custom code field in subpanel view
    By akkimca in forum Help
    Replies: 1
    Last Post: 2009-02-13, 05:45 AM
  2. SubPanel Custom Code
    By mppatterson15 in forum Developer Help
    Replies: 5
    Last Post: 2008-08-05, 10:56 PM
  3. Replies: 0
    Last Post: 2008-07-14, 04:40 PM
  4. Search accounts not Called/not called within x days
    By ChocolateLover in forum Developer Help
    Replies: 0
    Last Post: 2007-02-20, 03:15 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
  •