Reputation: 115
In SuiteCRM I have a module connected with module Contacts. And in this module I created custom button in a subpanel of Contacts which is called "Import". And I want to open the page with import of contacts when I click this button. How can I do it?
array (
0 =>
array (
'widget_class' => 'SubPanelTopButtonQuickCreate',
),
1 =>
array (
'widget_class' => 'SubPanelTopSelectButton',
'mode' => 'MultiSelect',
), 2 => array (
'widget_class' => 'SubPanelImportButton',
),
Upvotes: 2
Views: 531
Reputation: 29
Sugar load widget class from include/generic/SugarWidgets/.* for example you can find definition of SubPanelTopSelectButton in this directory.The code above wont work because you haven't defined any widget class with name SugarWidgetSubPanelImportButton Follow the below mentioned steps to achieve required behaviour:
Upvotes: 1