Skip to content

Instantly share code, notes, and snippets.

@betobaz
Created February 18, 2015 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betobaz/138bf4d81913873e55c3 to your computer and use it in GitHub Desktop.
Save betobaz/138bf4d81913873e55c3 to your computer and use it in GitHub Desktop.
SugarCRM sidecar retrieve fields' value that aren't visible in a view
<?php
$viewdefs['Leads']['base']['view']['record'] = array(
'buttons' => array(
.
.
.
),
'panels' => array(
.
.
.
array(
'name' => 'panel_hidden',
'label' => 'LBL_RECORD_SHOWMORE',
'hide' => true,
'columns' => 2,
'labels' => true,
'labelsOnTop' => true,
'placeholders' => true,
'fields' => array(
.
.
.
array (
'name' => 'id_sheet',
'label'=> 'LBL_SMARTSHEET_SHEET',
'type' => 'sheetenum',
'readonly' => false,
'related_fields' => array(
'name_sheet',
),
),
.
.
.
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment