AnsweredAssumed Answered

How can I create a subpanel that populates data from a custom flex relate field?

Question asked by oursgris oursgris on Feb 17, 2014
Latest reply on Sep 18, 2015 by André Lopes
I followed that tutorial to create a flex related module between the Leads module and PRO_Profil module and then that tutorial to create a subpanel.
(in the table pro_profil, there is a creation of parent_id and parent_name)

This result with the creation of 2 files

$layout_defs["Leads"]["subpanel_setup"]['PRO_Profil'] = array ('order' => 130,
    'order' => 130,
    'module' => 'PRO_Profil',
    'sort_order' => 'asc',
    'sort_by' => 'name',
    'subpanel_name' => 'default',
    'title_key' => 'LBL_TEST_FLEXPARENT',
$dictionary['Lead']['fields']['PRO_Profil'] = array(
    'name' => 'PRO_Profil',
    'type' => 'link',
    'relationship' => 'profils_leads',
    'module' => 'PRO_Profil',
    'bean_name' => 'PRO_Profil',
    'source' => 'non-db',
    'vname' => 'LBL_TEST_FLEXPARENT',
but no subpanel is shown
I have the feeling that sugarcrm 6.3 or 6.4 changed the system
where is the problem ?


I tryied also :