AnsweredAssumed Answered

Add custom button on Edit View (Sugar 7.8)

Question asked by Akanksha Srivastava on Nov 5, 2017
Latest reply on Nov 6, 2017 by Jung-A Johnson

Hello,

 

I am a beginner. I want to add a custom button on EDIT VIEW.

 

I have put it in custom/modules/Contacts/clients/base/views/record/record.php. 

 

array (
'name' => 'add_phones_button',
'label' => 'PHONES',
'type' => 'button',
'css_class' => 'btn btn-primary',
'showOn' => 'edit',
'event' => 'button:add_phones_button:click',
),

 

Now anybody can help me for where to add custom code for button click?

 

Please suggest,

Thanks in advance

Outcomes