AnsweredAssumed Answered

How I should declarate flex related field in EditView?

Question asked by Vlad Vlad on Jan 28, 2015
Latest reply on Jan 30, 2015 by Rolustech Rolustech
I made flex related field using this guide http://developer.sugarcrm.com/2011/05/16/howto-create-a-flex-relate-for-other-modules/

But how I should declarate this one in EditView? And also in DetailView. Do I made a mistake while copy-paste the guide above or I did wrong in EditView? This is my code.
array(   
    array(
        'name' => 'parent_name',
        'label' => 'LBL_CUSTOMER',
    ),
),
            
I used 'parent_name_options' instead of 'test_flexparent_options'.

Outcomes