Results 1 to 5 of 5

Thread: Problem displaying parent_name in detailview

  1. #1
    piccirm is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    83

    Default Problem displaying parent_name in detailview

    Hi

    I'm having a strange problem with displaying related_to fileds in detailview of tasks
    If I use parent_id I get the correct id , if a use parent_type I get a correct value, but if I want parent_name I get blank (while in the database table the name is not null)

    array (
    'name' => 'parent_name',
    'label' => '{sugar_translate label=\'LBL_MODULE_NAME\' module=$fields.parent_type.value}')

    Anyone that knows how to fix or debug this ?

  2. #2
    letrium is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    614

    Default Re: Problem displaying parent_name in detailview

    Hi

    If you using only English Language try this:

    array (
    'name' => 'parent_name',
    'label' => '{$fields.parent_type.value}'
    )

  3. #3
    piccirm is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    83

    Default Re: Problem displaying parent_name in detailview

    the problem it's not related to the label but to the value itself
    in any case does not work

  4. #4
    piccirm is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    83

    Default Re: Problem displaying parent_name in detailview

    I'm still struggling with this problem
    Any hint ?

  5. #5
    piccirm is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    83

    Default Re: Problem displaying parent_name in detailview

    SOLVED!
    the name in the parent table was null !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. sugar5 email address displaying problem
    By prasanthvs in forum Developer Help
    Replies: 0
    Last Post: 2008-06-03, 11:23 AM
  2. Weird Inbound Email Displaying Problem
    By mudtel in forum Help
    Replies: 4
    Last Post: 2008-05-26, 03:00 AM
  3. Setting the parent_name in subpanels
    By therapyselect in forum Developer Help
    Replies: 3
    Last Post: 2007-07-20, 07:48 PM
  4. Parent_name?
    By dblake in forum Developer Help
    Replies: 3
    Last Post: 2005-05-22, 01:12 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
  •