I’ve tried using Studio and manually editing the users metadata files themselves (editviewdefs and detailviewdefs).
The results are the same either way.
It creates 4 working tabs/buttons in detailView, but 4 non-working buttons/tabs in editView.
'useTabs' => true,
'tabDefs' =>
array (
'LBL_USER_INFORMATION' =>
array (
'newTab' => true,
'panelDefault' => 'expanded',
),
'LBL_EMPLOYEE_INFORMATION' =>
array (
'newTab' => true,
'panelDefault' => 'expanded',
),
'LBL_EDITVIEW_PANEL1' =>
array (
'newTab' => true,
'panelDefault' => 'expanded',
),
'LBL_EDITVIEW_PANEL2' =>
array (
'newTab' => true,
'panelDefault' => 'expanded',
),
),
),
.
This creates four buttons beneath the “User Profile” button, each opening the appropriate pane; when clicked (in detail view, NOT edit view).:
- User Profile
- Agent Information
- Assigned Territories
- Accounting
The code for each viewdef.php is identical.
In sugar, Display Type: tabs is chosen.
I’ve tried synching the two and not.
Is this a common shortcoming?
Or am I missing something?